File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant generation script

 
Gabriel Ozeas
Ranch Hand
Posts: 30
Google App Engine Hibernate jQuery
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,

I'm almost finish my assignment and trying to package it. I'm using ANT to compile generate the stub and group the docs. But when i create runme.jar the MANIFEST.MF is created inside it. And it contains an line like this



I couldn't remove this line. The specification says that you cannot submit any code that is not your own work.
Anybody did this way? How do you package your application?

Another question: Can i put classes in suncertify package? Like the startup class.

Thanks,
Gabirel

EDITED: I put the post in wrong forum(Certification Result ), some moderator can erase that post?
 
Roel De Nijs
Sheriff
Posts: 9208
78
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you take a look at ScjdFaq you'll see I used an Ant generation script too (which I added to this forum so it could be helpful for other ranchers try to package their assignment). And it's normal that ant adds this line (my runme.jar has also such a line), so not to worry about that extra line (it's not actual code, just a line of plain text)

Why would you not be able to put classes in suncertify package? As long as you don't violate the must requirements (e.g. put Data class in suncertify.db package) you are free to do what you want.

Good luck!

ps. I deleted the thread in the certification results forum.
 
Sean Keane
Ranch Hand
Posts: 582
Chrome Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like there is no option in manifest task to turn off the creation of the Ant-Version: Apache Ant 1.8.1 entry.
 
Roel De Nijs
Sheriff
Posts: 9208
78
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you really would get rid of this line, I think you can simply delete this after generating the jar file
 
Gabriel Ozeas
Ranch Hand
Posts: 30
Google App Engine Hibernate jQuery
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:If you really would get rid of this line, I think you can simply delete this after generating the jar file

Good solution auhauh so simple....

Thanks everybody
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic