ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Wutzke <kwut...@web.de>
Subject Re: run a jar from ant
Date Wed, 27 Jan 2010 11:20:48 GMT
Don't get me wrong, but what is your question?

Karsten

> hai,
> 
> i am a newbies with ant.
> 
> i would like run my jar file from ant. but my jar need another jar,
> below this my ant code :
> 
> <target name="jar" depends="init" >
>         <jar destfile="${jar.dir}/${ant.project.name}.jar"
> basedir="${classes.dir}" excludes="">
>      <manifest>
>           <attribute name="Main-Class" value="com.ibs.compare.ChevronTool" />
>      	  <attribute name="Class-Path" value="./common-ibs.jar;./dfc.jar"/>
>      </manifest>
>     	</jar>
>     </target>
> 
> 	<target name="run" depends="jar">
> 	        <java jar="${jar.dir}/${ant.project.name}.jar" fork="true"/>	        

> 	 </target>
> 
> 
> all jar that will be needed i put at same folder with my output jar
> 
> 
> -- 
> Regards,
> 
> Andy Susanto,S.Kom
> ======================================================
> CV : http://www.linkedin.com/pub/andy-susanto/7/533/baa
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 


____________________________________________________________________
WEB.DE MillionenKlick: Kostenlos tippen, t├Ąglich 1 Million gewinnen!
http://produkte.web.de/go/07/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message