You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/02/01 21:35:08 UTC
[jira] Closed: (SLING-205) launcher/app and
launchpad/launchpad-webapp delete 'sling' directory when invoking from
sling-builder
[ https://issues.apache.org/jira/browse/SLING-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra closed SLING-205.
----------------------------------
> 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
> Assignee: Carsten Ziegeler
> Attachments: lp-webapp-it-fix.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> 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.