ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: jar update
Date Wed, 19 Sep 2001 07:16:55 GMT
> I have ANT 1.4, which has the "update" attribute for the jar 
> task. However, it still doesn't work as I expected. After I ran it, 
> it only updated the
> manifest file. Please help.
> 
> Here's my code:
> 
> <!-- ======================================================= -->
> <!-- 5. Create jar file for all classes                      -->
> <!-- ======================================================= -->
>   <target name="buildJar" depends="compile">
>     <echo message="------------------" />
>     <echo message="Building jar file in progress" />
>     
>     <jar jarfile="${Build_Location}/CreditCard.jar" 
>  
> includesfile="${Compile_Location}/com/westgroup/esolutions/Tra
> nsactionLog.class"
>     	 basedir="${Compile_Location}"
>     	 update="true"
>     />
>   </target>

Hmmm... does TransactionLog.class *definitely* exist? What happens if
you try including it by some different means (or including the whole
directory, say)?

Is there any more output if you use it in verbose mode?

Jon

Mime
View raw message