File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Can I jar file and javadoc using JBuilder? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Can I jar file and javadoc using JBuilder?" Watch "Can I jar file and javadoc using JBuilder?" New topic
Author

Can I jar file and javadoc using JBuilder?

Daniel Chen
Greenhorn

Joined: Oct 07, 2002
Posts: 24
Can I jar my classes, sources, javadoc api document using JBuilder?Is it the same result as using command-line with jdk?
Mag Hoehme
Ranch Hand

Joined: Apr 07, 2002
Posts: 194
Hi Daniel,
AFAIK JBuilder provides a shell to the standard Java tools such as JAR and JavaDoc. Therefore it shouldn't be a problem when you're using JBuilder. Simply check before submission that are no JBuilder residues in your files.
I used NetBeans and had an ANT script, which also worked fine.


Mag
Daniel Chen
Greenhorn

Joined: Oct 07, 2002
Posts: 24
Hi Mag,
Thank you for your reply.I also think they are the same created by java command-line or JBuilder.However I found manifest.mf file in my jar file created by java command-line has a line like "Created-By: 1.4.0 (Sun Microsystems Inc.)".The jar file created by JBuilder's manifest.mf file doesn't have this line.Though the jar file created by JBuilder run well in java command-line, I am afraid the two kind of jar file have other diffient part.And I don't know how to create jar file with JBuilder can include "Created-By: 1.4.0 (Sun Microsystems Inc.)".By the way I found my client.jar file created by JBuilder includes some class files I didn't add them to jar.I don't know the reason, I doubt JBuilder would include class files if it thought necessary.
friso jonge
Ranch Hand

Joined: Aug 06, 2002
Posts: 41
hi daniel,
I had the same concerns, but used jbuilder all the way.
- for rmi file creation
- for packaging into multiple and executable jars
- for javadocs
- for misc. files like readme.txt etc
after making it to work which was a project by itself, I unpacked the jar files and just searched for files that i had not put in there.
There were not any. So i send it in and passed.
Daniel Chen
Greenhorn

Joined: Oct 07, 2002
Posts: 24
Hi friso,
Thank you.
Mag Hoehme
Ranch Hand

Joined: Apr 07, 2002
Posts: 194
Originally posted by Daniel Chen:
By the way I found my client.jar file created by JBuilder includes some class files I didn't add them to jar.I don't know the reason, I doubt JBuilder would include class files if it thought necessary.

Did you used the GUI builder? That could be the reason.
You can manipulate the contents of a jar file with a zip program, such as WinZip. Try to delete the JBuilder files and see what happens.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I jar file and javadoc using JBuilder?