?
Solved

Compile using JbuilderX

Posted on 2005-04-21
8
Medium Priority
?
184 Views
Last Modified: 2010-03-31
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
0
Comment
Question by:thomas908
  • 4
  • 4
8 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 13832463
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
 
LVL 35

Expert Comment

by:TimYates
ID: 13832469
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
 
LVL 8

Author Comment

by:thomas908
ID: 13840335
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 35

Accepted Solution

by:
TimYates earned 800 total points
ID: 13840841
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
 
LVL 8

Author Comment

by:thomas908
ID: 13841350
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
 
LVL 35

Expert Comment

by:TimYates
ID: 13841354
I honestly don't know :-(

Hopefully, someone else will...
0
 
LVL 8

Author Comment

by:thomas908
ID: 13976187
>>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
 
LVL 8

Author Comment

by:thomas908
ID: 14360479
Thanks for helping
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 8 hours left to enroll

750 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