
templates.j2ee.maven2.m2eclipse.bat.vsl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of andromda-andromdapp-project-j2ee-maven2
Show all versions of andromda-andromdapp-project-j2ee-maven2
AndroMDA powered J2EE Maven2 Application
The newest version!
@REM This is a one time execution to create multiple Eclipse projects from generated andromda output.
@REM Comment out eclipse goal under plugins\plugin\org.andromda.maven.plugins\andromdapp-maven-plugin.
@REM Reference http://forum.andromda.org/viewtopic.php?t=5066
@REM Maven eclipse plugin reference: http://maven.apache.org/plugins/maven-eclipse-plugin
@REM To run with the original AndroMDA eclipse functionality (generate .project and .classpath each MDA
@REM run, for the top level project only):
@REM Comment the following in the top level.pom.xml
@REM
@REM org.apache.maven.plugins
@REM maven-eclipse-plugin
@REM 2.4
@REM true
@REM
@REM 1.5
@REM target/classes
@REM
@REM
@REM Uncomment out the following in mda/pom.xml
@REM
@REM org.andromda.maven.plugins
@REM andromdapp-maven-plugin
@REM
@REM
@REM
@REM eclipse
@REM
@REM
@REM
@REM
@REM
@REM app/pom.xml
@REM mda/pom.xml
@REM webservice/pom.xml
@REM
@REM
@REM
@REM Import all projects into Eclipse when finished
@REM This manages all dependencies from within pom.xml files, re-run if dependencies change.
@REM If the Eclipse workspace dir is the same as the top level project dir, projects
@REM will not have appname- in front of project name.
@REM App generator does not copy empty directories into project, but they must exist for eclipse plugin to work
mkdir common\src\main\java
mkdir common\target\src\main\java
#if (!$transactionPersistenceType.equals("none") || $cxf)
mkdir core\src\main\java
mkdir core\src\test\java
mkdir core\target\src\main\java
#end
#if ($web || ($war && !$cxf))
mkdir web\src\main\java
mkdir web\target\src\main\java
#end
#if ($webservice)
mkdir webservice\src\main\java
mkdir webservice\src\test\java
mkdir webservice\target\src\main\java
#end
#if ($cxf)
mkdir CXF\src\main\java
mkdir CXF\target\src\main\java
#end
#if ($workflow)
mkdir workflow\src\main\java
mkdir workflow\target\src\main\java
#end
rename ..\.project old.project
rename ..\.classpath old.classpath
call mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
#if ($cxf)
call mvn -f CXF/pom.xml eclipse:eclipse -DdownloadSources=true
#end
pause
© 2015 - 2025 Weber Informatics LLC | Privacy Policy