This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Packaging an application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Packaging an application" Watch "Packaging an application" New topic

Packaging an application

Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
I am working on, and am almost finished with, a component for login/logout/register. It uses JavaMail with MessageFormat, MySQL, and Jakarta Commons. I still don't know how to package it.
I want to jar this component so that it can be plopped right into any webapp.
The properties files and other resource files are to be defined by the implementor (not in the jar).
Tomcat reads resources like properties from WEB-INF/classes.

How will read resources that are outside the jar file? Do I need to make a manifest file?

comp.lang.javascript FAQ:
I agree. Here's the link:
subject: Packaging an application
Similar Threads
Unable to access a file in my Jar file.
Problem in executing java project jar file
Adding an external jar file library in Netbeans 6.5.1 IDE
extract specific file from classes folder in ANT.
Run the .jar file