Quantcast
Viewing all articles
Browse latest Browse all 5661

IDEA Project and Perforce - in different folder trees?

Hi,

 

I'm on a project where I'm new to both IDEA and Perforce... This might be very simple but I just can't find the solution... I'm looking for a way to achieve this:

 

Sources under P4:

 

/path/to/p4/workspace/myproject/src

/path/to/p4/workspace/myproject/src/main

/path/to/p4/workspace/myproject/src/main/java

/path/to/p4/workspace/myproject/src/main/resources

/path/to/p4/workspace/myproject/src/main/webapp

/path/to/p4/workspace/myproject/src/test

/path/to/p4/workspace/myproject/src/test/java

/path/to/p4/workspace/myproject/pom.xml

etc.

 

Project files under my documents:

 

/users/me/documents/IDEA Projects/myproject

/users/me/documents/IDEA Projects/myproject/.idea

etc.

 

If I forget Perforce then I can do that by simply importing pom.xml and selecting "Keep project files in: /users/me/documents/IDEA Projects/myproject". But then I don't seem to be able to use Perforce as it wants to use the project root as actual root, not the P4 workspace root. Is there any workaround? If possible I'd like to avoid saving project related files to the P4 workspace (only sources etc).

 

TIA, Jan


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>