ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Project Basedir
Date Thu, 25 Sep 2003 10:20:29 GMT
????? Why - it´s very dangerous! 


Maybe via script task:

    <script language="javascript"> <![CDATA[
        importClass(java.io.File);
        project.setBaseDir(new File("myNewBaseDir"));
    ]]>
    </script>



Jan


> -----Original Message-----
> From: Blanchet Samuel [mailto:sblanchet@sopragroup.com]
> Sent: Thursday, September 25, 2003 12:17 PM
> To: Ant Users List
> Subject: RE: Project Basedir
> 
> 
> I would like to change the basedir in the middle of my script...
> 
> How could I do that ??
> 
> 
>  Sam
> 
> 
> 
> -----Message d'origine-----
> De : Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Envoyé : jeudi 25 septembre 2003 12:14
> À : user@ant.apache.org
> Objet : RE: Project Basedir
> 
> 
> Setting the basedir attribute of <project>
> 
> 
> Jan
> 
> > -----Original Message-----
> > From: Blanchet Samuel [mailto:sblanchet@sopragroup.com]
> > Sent: Thursday, September 25, 2003 12:10 PM
> > To: user@ant.apache.org
> > Subject: Project Basedir
> > 
> > 
> > Hi,
> >  
> > How could I change the project's basedir in my ant script ?
> > 
> >  Sam
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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