You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Felix Meschberger <Fe...@day.com> on 2008/01/27 23:27:56 UTC

Re: svn commit: r615221 - /incubator/sling/trunk/launcher/app/pom.xml

Hi,

Should we really delete stuff outside the target folder upon clean ?

Usually I run the launcher with the sling.home outside of target exactly
for not having it removed upon each "maven clean".

Regards
Felix


Am Freitag, den 25.01.2008, 13:44 +0000 schrieb bdelacretaz@apache.org:
> Author: bdelacretaz
> Date: Fri Jan 25 05:44:17 2008
> New Revision: 615221
> 
> URL: http://svn.apache.org/viewvc?rev=615221&view=rev
> Log:
> Delete the sling directory when running "mvn clean", to avoid confusion when old stuff is left there
> 
> Modified:
>     incubator/sling/trunk/launcher/app/pom.xml
> 
> Modified: incubator/sling/trunk/launcher/app/pom.xml
> URL: http://svn.apache.org/viewvc/incubator/sling/trunk/launcher/app/pom.xml?rev=615221&r1=615220&r2=615221&view=diff
> ==============================================================================
> --- incubator/sling/trunk/launcher/app/pom.xml (original)
> +++ incubator/sling/trunk/launcher/app/pom.xml Fri Jan 25 05:44:17 2008
> @@ -52,6 +52,21 @@
>  
>      <build>
>          <plugins>
> +            <plugin>
> +              <!-- 
> +                The clean plugin deletes the sling work directory as well,
> +                to avoid confusion with leftovers from previous runs
> +              -->
> +              <artifactId>maven-clean-plugin</artifactId>
> +              <configuration>
> +                <filesets>
> +                  <fileset>
> +                    <directory>sling</directory>
> +                  </fileset>
> +                </filesets>
> +              </configuration>
> +            </plugin>
> +
>              <!-- Bundles to list in the installer properties file -->
>              <plugin>
>                  <groupId>org.apache.maven.plugins</groupId>
> 
> 


Re: svn commit: r615221 - /incubator/sling/trunk/launcher/app/pom.xml

Posted by Tobias Bocanegra <to...@day.com>.
see my issue regarding this problem:
https://issues.apache.org/jira/browse/SLING-205
i think instrumenting cargo to use a sling.home inside the taget
directory resolves this problem.

regads, toby

On 1/27/08, Felix Meschberger <Fe...@day.com> wrote:
> Hi,
>
> Should we really delete stuff outside the target folder upon clean ?
>
> Usually I run the launcher with the sling.home outside of target exactly
> for not having it removed upon each "maven clean".
>
> Regards
> Felix
>
>
> Am Freitag, den 25.01.2008, 13:44 +0000 schrieb bdelacretaz@apache.org:
> > Author: bdelacretaz
> > Date: Fri Jan 25 05:44:17 2008
> > New Revision: 615221
> >
> > URL: http://svn.apache.org/viewvc?rev=615221&view=rev
> > Log:
> > Delete the sling directory when running "mvn clean", to avoid confusion when old stuff is left there
> >
> > Modified:
> >     incubator/sling/trunk/launcher/app/pom.xml
> >
> > Modified: incubator/sling/trunk/launcher/app/pom.xml
> > URL: http://svn.apache.org/viewvc/incubator/sling/trunk/launcher/app/pom.xml?rev=615221&r1=615220&r2=615221&view=diff
> > ==============================================================================
> > --- incubator/sling/trunk/launcher/app/pom.xml (original)
> > +++ incubator/sling/trunk/launcher/app/pom.xml Fri Jan 25 05:44:17 2008
> > @@ -52,6 +52,21 @@
> >
> >      <build>
> >          <plugins>
> > +            <plugin>
> > +              <!--
> > +                The clean plugin deletes the sling work directory as well,
> > +                to avoid confusion with leftovers from previous runs
> > +              -->
> > +              <artifactId>maven-clean-plugin</artifactId>
> > +              <configuration>
> > +                <filesets>
> > +                  <fileset>
> > +                    <directory>sling</directory>
> > +                  </fileset>
> > +                </filesets>
> > +              </configuration>
> > +            </plugin>
> > +
> >              <!-- Bundles to list in the installer properties file -->
> >              <plugin>
> >                  <groupId>org.apache.maven.plugins</groupId>
> >
> >
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---