You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Roger L

Beginner

  • "Roger L" started this thread

Posts: 24

Date of registration: Apr 12th 2010

  • Send private message

1

Friday, April 30th 2010, 5:10am

Open Existing Project

Hi,

I'm a newby, so apologies if I am misunderstanding something. When I open an existing project from the 'recent' tab the IDE seems to be running in the IDEs home directory, but when I navigate to the directory of my project the IDE seems to be running there. I always want to run the IDE in the home directory of my project, not the home directory of the IDE - but its a bit long winded navigating there every time as the 'open existing project' option always seems to start in 'Samples' rather than the last opened Project. Any way around this?

Thanks

Roger L

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Friday, April 30th 2010, 9:06am

You are right. The IDE's working directory depends on the way you start it up.
You could use a shortcut from your Windows Desktop to your project.jba file to avoid the navigation.
Another option might be to use project-specific shortcuts to start Jabaco.exe with a defined startup directory.

From within the IDE you can always open the project's temporary working directory via menu "Project/Open working directory".

Why is it important for you to run the IDE in the project directory?

Greetings

A1880

Roger L

Beginner

  • "Roger L" started this thread

Posts: 24

Date of registration: Apr 12th 2010

  • Send private message

3

Friday, April 30th 2010, 11:05am

Open Project

The main reason I want to run the IDE in my projects home directory is because I have my database (sqlite) in the same directory, plus jars for a report writer. By keeping everything in the same directory and running in that directory I don't have to worry about class path and other considerations, plus I simplify my install procedures.

Roger L

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

4

Friday, April 30th 2010, 11:38am

External Jar files are not recognized by Jabaco unless you define them explicitely via "F1" to be part of the project.
As soon as you do that, the Jar file gets written into the *.jba project file.
To look at that file, you can make a copy and add ".xml" as extension (e.g. myproject.jba.xml).
This allows you to open the file in your Internet Explorer.
Notepad or another text editor would not be a good idea, because the lines in the file are quite long.

The Jar entries look as follows:

<ClassPath Name="C:/xxx/jarTest/my.jar" />

It might be possible to change to absolute path to a relative path and thus make the whole project portable.

Greetings

A1880

Roger L

Beginner

  • "Roger L" started this thread

Posts: 24

Date of registration: Apr 12th 2010

  • Send private message

5

Saturday, May 1st 2010, 4:43am

Thanks I'll look into that (I have entered references for my jars already) - main objective though is to simplify my install setup - having all required jars, db files etc in the one folder means that the final product can be installed on any system without any dependancies other than jre. In the meantime I have followed the suggestion to create a custom desktop shortcut per project which neatly solves my original problem.

Thanks

Roger L

Rate this thread
WoltLab Burning Board