Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Ant for packaging the application ?

 
Liviu Carausu
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have used an Ant script for packaging my application. Can I have problems because of this ?
My jar is already sent.
Now I have seen that in Andrew's book is adviced to use SUN's jar tool.
my MANIFEST.MF from runme.jar looks like this :

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 14.0-b16 (Sun Microsystems Inc.)
Main-Class: suncertify.AppRunner

Any comments ?

Thanks,
Liviu
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Liviu,

I used ant too to build my submission jar (and I submitted this code somewhere on this forum, with a link to the topic in the ScjdFaq). My MANIFEST.MF of the runme.jar looks almost the same like yours:


So I'm pretty syre that won't be a problem!

Kind regards,
Roel
 
Liviu Carausu
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Roel,

Is Class-Path: . necessary ? My runme.jar runs also without it but I'm not sure
if it is something wrong.

Thanks,
Liviu
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Liviu Carausu wrote:Is Class-Path: . necessary? My runme.jar runs also without it but I'm not sure If it is something wrong.

If it runs without it, I'm certainly it's not required and so I don't think it's wrong to not include it.

Kind regards,
Roel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic