Improve maven generated .classpath and .project files in A4 source tree
-----------------------------------------------------------------------

         Key: AAAA-34
         URL: http://jira.andromda.org/browse/AAAA-34
     Project: AndroMDA 4
        Type: Bug

  Components: Eclipse integration  
    Versions: 4.0-M1    
 Environment: Eclipse 3.2, A4 snapshot as of 6/13/07
    Reporter: Bob Fields
 Assigned to: Matthias Bohlen 
    Priority: Minor


I didn't want to submit a patch with fixed files because these files are 
generated from the maven configuration. Sorry, I don't know enough about maven 
to figure out where it is getting the information to create the .classpath and 
.project files.

- I had to run 'mvn eclipse:eclipse' to generate files for all subprojects - 
the default 'mvn install' from the top level only generates one 
.classpath/.project at the top. It should have individual projects matching 
each of the build products, not a single top level project with 50+ source 
directories, much easier to work with. The top level .project prevents eclsipse 
from importing the entire hierarchy as separate projects, that shouldn't be 
generated.
- There is a dependency for groovy-all-1.0-RC-01.jar, but the plugin and mvn 
repository contains groovy-all-1.0.jar. I couldn't find the dependency in the 
xml files, sorry I don't know maven well enough to figure out where that 
dependency is coming from. I did a text search for GROOVY_PLUGIN_HOME in the 
source tree, couldn't find it anywhere.
- Many of the generated .classpath files contain /target subdirectory as a 
source directory. Normally this would not be a problem (no source files in 
those directories), but the groovy plugin sees the .groovy file as a duplicate 
source file. I fixed (removed) it manually but it really should be fixed in the 
maven config. Again, my limited knowledge of maven.
- Project andromda-enterpriseapp-cartridge had a dependency on project 
andromda-metadata-emf-repository that had to be added to the .classpath
- .svn files and directories should be added to the ignored resource list in 
the generated .classpath src reference, they contain many of the sme files in 
the regular source directory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Reply via email to