Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.3
-
Fix Version/s: 2.3.1
-
Labels:None
-
Environment:Test on windows
-
Number of attachments :2
Description
When you use the maven.genapp.repackage.dir properties and set it to . , the files contained in the maven.genapp.repackage directory are not < moved > to the new package directory, but copied in it, and steel in the base directory.
Here is the template.properties file :
maven.genapp.repackage.dir=
maven.genapp.repackage=main/src/java,test/src/unit
maven.genapp.filter=project.xml
maven.genapp.default.package=com.saint-gobain.sgsi.my_application
maven.genapp.filter=project.xml,main/src/webapp/WEB-INF/web.xml
The content of "main/src/java" are not moved in "main/src/java/com/saint-gobain/sgsi/my_application" but copyed in it and steel in the "main/src/java" directory.
If I put the main and test directory in a "src" directory, and remove the "maven.genapp.repackage.dir" propertie, everything works fine.
You can find in attachment the template
-
- jelly.diff
- 12/May/06 9:49 AM
- 1 kB
- Charles Rathouis
-
Hide
- saint-gobain.zip
- 04/May/06 3:22 AM
- 44 kB
- Charles Rathouis
-
- saint-gobain/.../crebas.sql 3 kB
- saint-gobain/.../ApplicationResources.properties 0.6 kB
- saint-gobain/.../ApplicationResources_fr.properties 0.6 kB
- saint-gobain/.../action-servlet.xml 0.2 kB
- saint-gobain/.../common-struts-config.xml 0.8 kB
- saint-gobain/.../deploy-struts-config.xml 1 kB
- saint-gobain/.../menu-config.xml 0.1 kB
- saint-gobain/.../persistenceContext.xml 1 kB
- saint-gobain/.../securityContext.xml 9 kB
- saint-gobain/.../serviceContext.xml 1 kB
- saint-gobain/.../tiles-defs.xml 0.3 kB
- saint-gobain/template-resources/.../c.tld 11 kB
- saint-gobain/.../displaytag-11.tld 24 kB
- saint-gobain/template-resources/.../fmt.tld 13 kB
- saint-gobain/.../struts-bean.tld 9 kB
- saint-gobain/.../struts-html-el.tld 64 kB
- saint-gobain/.../struts-html.tld 65 kB
- saint-gobain/.../struts-logic.tld 14 kB
- saint-gobain/.../struts-menu-el.tld 2 kB
- saint-gobain/.../struts-menu.tld 2 kB
- saint-gobain/.../struts-nested.tld 63 kB
- saint-gobain/.../struts-tiles.tld 8 kB
- saint-gobain/.../validation.xml 0.2 kB
- saint-gobain/.../validator-rules.xml 44 kB
- saint-gobain/template-resources/.../web.xml 5 kB
- saint-gobain/.../project.properties 0.8 kB
- saint-gobain/.../project.xml 17 kB
- saint-gobain/.../dbload.xml 2 kB
- saint-gobain/.../test-struts-config.xml 1.0 kB
- saint-gobain/.../testPersistenceContext.xml 2 kB
Activity
Here is a patch which
- Fix this issue
- Add a new feature : Rename the file which contains tags into their filename.
I fixed the issue but I couldn't apply your patch: it's not in unified diff format, the ant:exclude part broke some other standard templates, and I couldn't figure out what the rest of the patch is supposed to do. Please open a new issue with a more detailed description.
Here is a patch which