sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
Rev: HEAD (16683) - svn://svn.freehep.org/svn / freehep / trunk / AddModule.sh
Show File - AddModule.sh  [show properties]
Search for Help
spinner
#!/bin/sh
module=$1
echo "Adding module " $module
mvn archetype:create -DarchetypeGroupId=org.freehep -DarchetypeArtifactId=freehep-project-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.freehep -DartifactId=$module
find $module -print | grep DUMMY | xargs rm
rmdir $module/src/main/java/org/freehep
rmdir $module/src/main/java/org
10  rmdir $module/src/main/resources/org/freehep
11  rmdir $module/src/main/resources/org
12  rmdir $module/src/test/java/org/freehep
13  rmdir $module/src/test/java/org
14  rmdir $module/src/test/resources/org/freehep
15  rmdir $module/src/test/resources/org
16 
17  svn propget svn:ignore . > svnignores
18  svn add $module
19  svn propset svn:ignore --file svnignores $module
20  rm svnignores


feed icon

sventon 2.5.1