[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
Re: [eclipse-dev] Eclipse compiles all my *.java classes when I start the IDE
 | 
Quoting Matt Raible <matt@xxxxxxxxxxxxxxxxx>:
> I have a web application that I've been using Cygwin, Ant and a
> Homesite
> (Text Editor) to build for the last few months.  I want to
> "experiment"
> with using eclipse to do my java development, but everytime I open
> my
> project, eclipse compiles all my *.java files and puts them in the
> same
> directory as it's *.java equivalent.  I basically just created a
> new
> java project and pointed to my project's existing directory.  My
> project's directory structure is as follows:
> 
>
Assuminng you have a /build (name it to your conveniece) do the 
following:
Select from the main menu Window > Preferences. 
Expand the Java node in the tree. 
Select the New Project node. 
Under As source and output locataion use: select the Folders option. 
Change the default setting (bin) of Output location name to build  
Click OK. 
[the source directory default is /src]
Once you have done the above THEN create a new project.
-H  
> 
> Myproject
> 
>             -- src
> 
>                         -- myproject
> 
>                                     -- com.
> 
>                         -- WEB-INF
> 
>             -- web
> 
>             
> 
>  
> 
> Also, is there any way to make eclipse run Ant (and other external
> programs) without popping up a DOS Window?  When I run my Ant
> compile
> task in Eclipse, I get a jikes window that pops up.  It takes me
> about 5
> seconds to run "ant compile" in Cygwin, but about 10-15 in Eclipse.
> 
>  
> 
> Thanks,
> 
>  
> 
> -- Matt Raible, Raible Designs, Morrison CO US
> -- Tel: +1 303 979-5340
> 
> -- Fax: +1 508 256-6471
> -- Web: http://www.raibledesigns.com
> 
>  
> 
>