maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: templating:filter-sources and chmod
Date Tue, 18 Jun 2013 15:33:04 GMT
Don't use it for that use case. That goal's use case is templating java code


On 18 June 2013 16:05, Arnaud bourree <arnaud.bourree@gmail.com> wrote:

> Hi,
>
> OK, I don't used templating:filter-sources for this original goal: Java.
> My use case is to run shUnit2 test scripts to validate Bash script.
> I've make context directory tree in src/test.
> Now I'd like to copy contexts and script to validate in target/
> My SCM override execution flag, so when copying script, I need to force it
> up: shUnit2 looks to request it
>
> Regards,
>
> Arnaud.
>
>
>
> 2013/6/18 Baptiste MATHUS <bmathus@batmat.net>
>
> > Hi,
> > templating:filter-sources copies things from src/main/java-templates AND
> > adds it as a *source* directory (like java code, or so).
> > Is this what you expect?
> >
> > Btw, as filtering generally just copies things from one place to
> another, I
> > suppose you should just set the corresponding chmod+x on your original
> > scripts?
> >
> > Cheers
> >
> >
> > 2013/6/18 Arnaud bourree <arnaud.bourree@gmail.com>
> >
> > > Hello,
> > >
> > > I'm looking at templating:filter-sources which look like
> > > resources:copy-resources.
> > >
> > > I'd like to chmod +x copied scripts to run shunit2 against them.
> > >
> > > Does anyone know to do it without ant-run?
> > >
> > > Regards,
> > >
> > > Arnaud.
> > >
> >
> >
> >
> > --
> > Baptiste <Batmat> MATHUS - http://batmat.net
> > Sauvez un arbre,
> > Mangez un castor !
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message