It's not a secret anymore!
The moose likes JBoss/WildFly and the fly likes Ant build.xml fails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Ant build.xml fails" Watch "Ant build.xml fails" New topic

Ant build.xml fails

Joseph Sweet
Ranch Hand

Joined: Jan 29, 2005
Posts: 327
Hi to all,

I am trying to run the examples that come with "Mastering EJB" 3rd edition.

Problem is that I have to edit some environment veriables in order to make it work. But I am not sure I have the equivalents on my system:

I have to edit the following variables:

But I don't have any J2SDKEE on my computer..... I only have the J2SE1.5 (JDK + JRE)

I also have JBoss.

Any clue what do I do? Do I need to install J2EE? I think the J2EE jars are already in the JBoss dir (on my system C:\jboss\jboss-4.0.5.GA). But I don't know how to change those 5 variables to the right places in JBoss....

We must know, we will know. -- David Hilbert
Joseph Sweet
Ranch Hand

Joined: Jan 29, 2005
Posts: 327
Moderator, please move this thread to the JBoss forum.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

For straight EJB deploying in JBoss, there isn't anything you need to add or configure. If you have a jar that is specific to your app that is not EJB specific, you will want to put that jar file in the server\default\lib directory, like the pointbase libraries.

No configuration should be needed for JBoss. Well, except for a JAVA_HOME environment variable, but if you got JBoss to startup, then you already have that set.

JBoss has all the J2EE 1.4 libraries already included.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Ant build.xml fails
It's not a secret anymore!