Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Ant generation script

 
Ranch Hand
Posts: 30
Hibernate jQuery Google App Engine
  • 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?
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • 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.
 
Ranch Hand
Posts: 590
Eclipse IDE Chrome Java
  • 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: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Likes 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
Hibernate jQuery Google App Engine
  • 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
 
Or we might never have existed at all. Freaky. So we should cherish everything. Even this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic