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
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
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)
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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?
Am i getting it correctly?
I honestly don't know :-(
Hopefully, someone else will...
Hopefully, someone else will...
ASKER
>>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?
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?
ASKER
Thanks for helping
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