not sure about this but you might want to specify your relative directory 
either with a \ in front or .\

(e.g. \bin\nt\addappsignersecurity.bat or .\bin\nt\addappsignersecurity.bat 
)

Also i noticed that the file extension is .bat.. could that be causing a 
problem?

Anyways.. not sure if this is it but maybe you can try it..

Chris


>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: tarfileset
>Date: Wed, 26 Sep 2001 12:37:53 +0100
>
>I'm using ant 1.3!
>
>I'm having problems with the tarfileset trying to include / exclude files
>relative to my work directory however I get the following error (I've also
>tries a few other combinations which result in a "nothing to do", but no
>error):
>
>c:\ssab\XML\ssab.xml:116: Problem creating TAR:
>bin\nt\addappsignersecurity.bat (The system cannot find the path specified)
>--- Nested Exception ---
>java.io.FileNotFoundException: bin\nt\addappsignersecurity.bat (The system
>cannot find the path specified)
>       at java.io.FileInputStream.open(Native Method)
>       at java.io.FileInputStream.<init>(FileInputStream.java:64)
>       at java.io.FileInputStream.<init>(FileInputStream.java:95)
>       at org.apache.tools.ant.taskdefs.Tar.tarFile(Tar.java:239)
>       at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:218)
>       at org.apache.tools.ant.Target.execute(Target.java:153)
>       at org.apache.tools.ant.Project.runTarget(Project.java:898)
>       at org.apache.tools.ant.Project.executeTarget(Project.java:536)
>       at org.apache.tools.ant.Project.executeTargets(Project.java:510)
>       at org.apache.tools.ant.Main.runBuild(Main.java:421)
>       at org.apache.tools.ant.Main.main(Main.java:149)
>
>The target for this is as follows:
>
><target name="tar_source" depends="init,archive">
>       <!-- tar the source -->
>       <mkdir dir="${ssab.distributionLatest}"/>
>       <tar longfile="gnu"
>               tarfile="${ssab.distributionLatest}/ss-src.tar">
>               <tarfileset dir="${ssab.workDir}/">
>                       <include name="**"/>
>                       <exclude name="classes/**"/>
>                       <exclude name="clientcfg/**"/>
>                       <exclude name="servercfg/**"/>
>                       <exclude name="lib/ss.jar"/>
>               </tarfileset>
>       </tar>
></target>
>
>Regrds
>
>Simon
>
>------------------------------------------------------------------------------
>Halifax plc, Registered in England No. 2367076.  Registered Office: Trinity 
>Road, Halifax, West Yorkshire HX1 2RG. Represents only the Halifax 
>Financial Services Marketing Group for the purposes of advising on and 
>selling life assurance, pensions and unit trust business.  The Marketing 
>Group is regulated by the Personal Investment Authority.  Switchboard 01422 
>333333.
>
>==============================================================================
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to