Bug 37033 - AJDT 1.1.1 fails if project name != leaf directory name
Summary: AJDT 1.1.1 fails if project name != leaf directory name
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 36740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-29 01:42 EDT by Ron Bodkin CLA
Modified: 2003-06-09 08:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Bodkin CLA 2003-04-29 01:42:05 EDT
If you create a project with a name that differs from the last part of the 
directory it lives in, builds fail. E.g., create a project named "greetings" 
located in "c:/eclipse/workspace/hello". Add a file, compile, then try to run. 
It fails. AJDT creates output in a directory with the *name* of project 
(greetings), not the directory (hello).
Comment 1 Ron Bodkin CLA 2003-04-30 09:31:49 EDT
*** Bug 36740 has been marked as a duplicate of this bug. ***
Comment 2 Adrian Colyer CLA 2003-06-09 08:58:14 EDT
Builds no longer fail as AJDT now computes the path correctly. Note however that 
eclipse only allows you to specify an output directory relative to the project 
dir in the workspace (even if the src dir is elsewhere) - look at the java build 
properties (source tab) and you'll see what I mean. A project set up as you 
describe now builds and runs correctly, with the caveat that the output dir 
specified must be relative to the project dir as described previously.