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/01/26 19:16:34 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12562894#action_12562894 ] 

Tobias Bocanegra commented on SLING-205:
----------------------------------------

this just fixes the integration-test issue halfway. the 'sling' directory is still used as work directory during the tests...but i couldn't find any documentation how to set the CWD during the tests. maybe the sling config needs to be adapter to use the ${basedir}/sling as well. or even better ${basedir}/target/sling


> 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.