Watch, Follow, &
Connect with Us
Public Report
Report From: JBuilder/Wizards/Project    [ Add a report in this area ]  
Report #:  9362   Status: Closed
Project paths not generated correct;y
Project:  JBuilder Build #:  11.0.236.0
Version:    12 Submitted By:   John McGrath
Report Type:  Minor failure / Design problem Date Reported:  10/16/2004 4:48:42 PM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   214720
Resolution: Fixed (Resolution Comments) Resolved in Build: : 012.000.203.000
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
[QC Short Description]
Project paths not generated correct;y

[QC Description]
When the project paths are generated, they are created from the final element of the path in the default project properties.  In previous versions of JBuilder, they were created by removing the project root from the path specified.

So while my JBuilder X settings would create the following project structure:

    Root
        Backup
        Classes
        Docs/api
        Source
        Test

JBuilder 2005 will create the following:

    Root
        Backup
        Classes
        api
        Source
        Test
QC Entry 9362


(He's right except behavior in JBX is to return "Docs" not "Docs/api".  So JB11 behavior slightly better than JBX. bj)

(duplicate 192635, bj)
Steps to Reproduce:
Set up your default project properties with a Documentation path set to "Docs/api" under the project root.  The following is an extract from the Default.jpr file:

sys[0].BackupPath=..\Java\Projects\Backup
sys[0].DefaultPath=../Java/Projects/Source
sys[0].DocPath=..\Java\Projects\Docs\api
sys[0].OutPath=..\Java\Projects\Classes
sys[0].SourcePath=..\Java\Projects\Source\xxx;..\Java\Projects\Test
sys[0].TestPath=../Java/Projects/Test
sys[0].WorkingDirectory=../Java/Projects

Create a new project using File | New Project...

The project Documentation path will default to [Root]/api instead of [Root]/Docs/api.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01