|
-
October 24th, 2003, 12:53 PM
#1
JBuilder (problem managing code )
Please help I am new to Jbuilder, I real the tutorial but am still having trouble understanding how Jbuilder manages code. Basically I want to create a package called my_package with 4 classes (Class1, Class2,...,Class4). I then want to write a class called MyMainClass1(with a main method) which uses the classes in my_package). I also want to create another class with a main method called MYClass2 which uses the classes in my_package to do something slightly different. Please explain how to organize all of this in JBuilder. What I did is given below and for some reason MyProejct2 cant find the package my_package
with the following tree MyMainClass1 can import my_package and use the classes but in MyProject 2 I want to use my_package and cannot
MyProject1
my_package
Class1
Class2
Class3
Class4
MyMainClass1
MyProject2
MyMainClass2
-
October 25th, 2003, 01:07 PM
#2
You can set it up in your project properties.
You could jar your first project and add it as a required library in your second.
Project->Project Properties->Rquired Libraries tab->Add button
There's also a wizzard for creating jars
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|