Solved

How to create JAR file using Forte?

Posted on 2002-04-29
4
235 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
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

758 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now