Link to home
Start Free TrialLog in
Avatar of thomas908
thomas908

asked on

Compile using JbuilderX

My project contains 2 folders with their own package hierarchy.
The hierarchy would be
C:\Abc

Abc contains 2 folders
XYZ
PQR

Both of them contain their own packages.

So to get my existing project  into Jbuilder, I did

New project
Project from existing code

In the source path it shows me both the folders which contains Java files but the output path is the same for both of them.
Is it possible to have different output paths for both XYZ and PQR
Say output path for XYZ is

C:/ABC/classes

and output path for PQR is

C:/ABC/webclasses
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

No, you will need to make a "Project Group", and add 2 projects to it.

Project1 will do the XYZ java files, and Project2 will do the PQR files

You can then set the build path independantly for each project
Or, for-go the jbuilder compiling entirely, and write an ANT build.xml script to compile the two classes seperately, and use that to build the project (you can import ant scripts into JBuilder)
Avatar of thomas908
thomas908

ASKER

Thanks for replying Tim
Ant seems like a good option. But if I use ant, then can I deploy jar and war files in JBoss using Jbuilder or should i use Ant for that as well.
Secondly, will I be able to use Jbuilder's debugging if i compile using Ant and not Jbuilder


ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I badly need Jbuilder debugging. It looks like if I use Ant for compiling, i wont be able to able to use Jbuilder debugging until the files are compiled from Jbuilder as well.
Am i getting it correctly?

I honestly don't know :-(

Hopefully, someone else will...
>>So basically, I have a project for my EJB stuff, a project for my webapp stuff, a project group which contains them both, an ant file for each, and my webapp I have set up so I can run it from JBuilder too...

I have a folder for my main application say flex inside which i have another 3 folders , one for EJB's, another for servlets and jsps, third for java classes and an ant file which builds the complete application.
Now I am trying to configure it the project group way. So i created a project for each of the 3 directories and added them to the project group. The ant file is at the same level as the 3 project directories so it doesn't display.
Do i have to break this ant file so that each project is configured seperately?
Thanks for helping