Allow creation of the project and module files in a subdirectory
----------------------------------------------------------------

         Key: MPIDEA-44
         URL: http://jira.codehaus.org/browse/MPIDEA-44
     Project: maven-idea-plugin
        Type: Improvement
    Versions: 1.6    
 Environment: Maven 1.1beta2
 Reporter: Wim Deblauwe


I like to have my  idea project and module files in a subdirectory called 
"ide". My Maven project.xml is in a directory called "build". Like this:
+ moduleroot
   + build
     + project.xml
     + project.properties
   + ide
     + module.iml
     + module.ipr
   + src

With Maven 1.x I use a postgoal after the idea plugin like this:

        <postGoal name="idea">
                <ant:move todir="${basedir}/../ide">
                        <ant:fileset dir="${basedir}">
                                <ant:include name="*.ipr"/>
                                <ant:include name="*.iml"/>
                                <ant:include name="*.iws"/>
                        </ant:fileset>
                </ant:move>
                <ant:replace file="${basedir}/../ide/${pom.artifactId}.iml">
                        <ant:replacefilter token="//$MODULE_DIR$" 
value="//$MODULE_DIR$/.."/>
                </ant:replace>
        </postGoal>

Is it possible to have this as an option in the plugin?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to