
|
If you were logged in you would be able to see more operations.
|
|
|
AppFuse
Created: 09/Mar/07 11:57 AM
Updated: 27/Aug/07 10:18 PM
|
|
| Component/s: |
WarPath Plugin
|
| Affects Version/s: |
2.0-M3
|
| Fix Version/s: |
None
|
|
|
To see the problem, perform the following steps on an AppFuse-based project:
mvn war:inplace
rm -r src/main/webapp/WEB-INF/lib
rm -r src/main/webapp/WEB-INF/classes
mvn jetty:run
Startup will fail b/c Jetty fails to find classes from org.appfuse:web-common.
There's certainly a workaround for this (don't delete the classes directory), but it would be nice to allow full deleting so users don't get confused about duplicate files.
It'd also be nice to exclude WEB-INF/classes and WEB-INF/lib from war-overlay but I couldn't get this to work. Maybe the warpath plugin could have a mojo that overlays w/o including these two directories?
Thanks,
Matt
|
|
Description
|
To see the problem, perform the following steps on an AppFuse-based project:
mvn war:inplace
rm -r src/main/webapp/WEB-INF/lib
rm -r src/main/webapp/WEB-INF/classes
mvn jetty:run
Startup will fail b/c Jetty fails to find classes from org.appfuse:web-common.
There's certainly a workaround for this (don't delete the classes directory), but it would be nice to allow full deleting so users don't get confused about duplicate files.
It'd also be nice to exclude WEB-INF/classes and WEB-INF/lib from war-overlay but I couldn't get this to work. Maybe the warpath plugin could have a mojo that overlays w/o including these two directories?
Thanks,
Matt |
Show » |
|