launcher/app and launchpad/launchpad-webapp delete 'sling' directory when
invoking from sling-builder
-----------------------------------------------------------------------------------------------------
Key: SLING-205
URL: https://issues.apache.org/jira/browse/SLING-205
Project: Sling
Issue Type: Bug
Reporter: Tobias Bocanegra
the clean plugin does not correctly handle relative paths in the additional
fileset configuration and uses them PWD relative. the launcher/app and the
launchpad-webapp have an additional fileset config to delete the 'sling'
working directory.
when invoking a mvn clean inside the builder removes the 'sling' code directory
if those modules are not excluded from build.
the fix is to add the ${basedir} explicitly in the config:
Index: launcher/app/pom.xml
===================================================================
--- launcher/app/pom.xml (revision 615464)
+++ launcher/app/pom.xml (working copy)
@@ -61,7 +61,7 @@
<configuration>
<filesets>
<fileset>
- <directory>sling</directory>
+ <directory>${basedir}/sling</directory>
</fileset>
</filesets>
</configuration>
Index: launchpad/launchpad-webapp/pom.xml
===================================================================
--- launchpad/launchpad-webapp/pom.xml (revision 615464)
+++ launchpad/launchpad-webapp/pom.xml (working copy)
@@ -79,7 +79,7 @@
<configuration>
<filesets>
<fileset>
- <directory>sling</directory>
+ <directory>${basedir}/sling</directory>
</fileset>
</filesets>
</configuration>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.