Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to create JAR file using Forte?

Posted on 2002-04-29
4
Medium Priority
?
256 Views
Last Modified: 2010-03-31
I'm trying to create JARfiles for several class package I wrote for a web application using Forte CE 3.0, but I'm having minimal success so far.

The easy one:

Relative to the site root, the class package sits in /WEB-INF/classes/core. I want to put all the .class files in the "core" subdirectory into one Jarfile (core.jar), which I can then copy to /WEB-INF/lib & mount as a JAR filesystem in other web applications, and have the classes be accessible with

import core.*;

and, for static methods, as "core.Class.methodname()"

The hard ones:

I also have a bunch of class packages that are taglibs, and have their .tld file inside the package directory (mainly because it meant I could keep everything related to the taglib in one place for CVS convenience). I want to make JARfiles of these too, but (assuming I need to do something special to make it work) I also want to be able to reference the .tld file as /WEB-INF/classes/tagpackagename/TagPackage.tld after copying the JARfile to the /WEB-INF/lib directory and Forte mounts it as a filesytem.

So... more or less from start (loading the web app project that contains the packages, is built, and works in Forte) to finish (a .jar file for each of the class packages in the web app's /WEB-INF/classes subdirectory that can be put in the /WEB-INF/lib subdirectory of other web apps and used the same way it's being used in the original app), what do I need to do?
0
Comment
Question by:jskubick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

by:jskubick
ID: 6978963
if it matters, /WEB-INF/classes is physically located at c:\java\adminwebapp\WEB-INF\classes ...

Also, some of the classes in each package depend upon other .jarfiles (specifically, Oracle 8's "classes12.zip" and Struts.jar). Does each jarfile need to be self-sufficient, or can individual jarfiles mutually depend upon one another?
0
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 6979881
Jskubick
Go to the Classes directory then use jar command to build it manually rather using the Forte tool.
What probs u r facing with this.

Shyam
0
 
LVL 9

Expert Comment

by:Venci75
ID: 7992648
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
PAQ'd and pts removed
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8048438
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.
Suggested Courses

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question