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
LVL 8
thomas908Asked:
Who is Participating?
 
TimYatesConnect With a Mentor Commented:
1) Yeah sure, ANT has tasks to build JAR and WAR files, then copying them to a path is no problem with a file copy task :-)
2) No.  Unfortunately not :-(  I have no idea about the JBoss debugging (I always debug via log messages these days).  And with the webapp side of things, I tend to have an ANT file for building and deploying, but ALSO keep JBuilde rup to date so I can run it with the internal Tomcat instance (and debug it that way)...  It's a bit of a pain, but not too bad...  

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...

There is probably a much better (or cooler) way of doing this, but I found this works for me so it's the way I ended up doing it all :-/

Tim
0
 
TimYatesCommented:
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
0
 
TimYatesCommented:
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)
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
thomas908Author Commented:
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


0
 
thomas908Author Commented:
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?

0
 
TimYatesCommented:
I honestly don't know :-(

Hopefully, someone else will...
0
 
thomas908Author Commented:
>>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?
0
 
thomas908Author Commented:
Thanks for helping
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.