Project organization in perforce

Posted by Chupa on Stack Overflow See other posts from Stack Overflow or by Chupa
Published on 2010-04-23T13:37:34Z Indexed on 2010/04/23 14:53 UTC
Read the original article Hit count: 273

Hello. I created several web applications that use the same static files (css, js, images). When I use svn for version control, I use an external repository (svn: externals) to add files to the current project. For example:

- Project_1 
---- Webapp 
-------- Static (external to static's repo) 
- Project_2 
---- Webapp 
-------- Static (external to static's repo)

I could easily use it in their web pages by adding a link like /static/ ...

But now our company has moved to perforce. How can I support the current structure?

We also use maven, I think to pack these files as a jar and use as a dependency, but then my editor (idea) does not see that this dependence are js-scripts and styles. And i need to repackage and deploy jar file when create minor changes.

How to use maven correctly?

© Stack Overflow or respective owner

Related posts about perforce

Related posts about maven-2