Re: Compiling -- Can I Control Where .java and .class Files Are Kept?
From: Larry (driftn_at_comporium.net)
Date: 12/06/03
- Next message: Larry: "Re: How do I use my string to change values in the HTML doc ?"
- Previous message: Larry: "Re: Problem JSP Bean data sharing with some Servlets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 6 Dec 2003 10:18:54 -0500
Get yourself a good easy to use Java IDE like JCreator LE (which is free!)
and let the IDE manage all these things. Download at:
http://www.jcreator.com/
Larry
"Hal Vaughan" <hal@thresholddigital.com> wrote in message
news:ZYCwb.225814$275.860373@attbi_s53...
> My first Java project has gotten to the point where there are so many
.java
> and .class files that I'd like to keep them separated so I can easily keep
> files straight. I have my /home/me directory and I want to put my .java
> files in /home/me/src and my class files in /home/me/bin. For now, I'm
> keeping the .java files in /home/me/src and, after I compile a class, I do
> "mv src/*class bin/" to transfer the newly generated .class files into the
> bin directory.
>
> Is there any way to tell javac that all .class files should be put in the
> bin dir? I can deal with adding "src/" onto my javac commands, although
it
> would nice to have javac look in a "default" directory for .java files
> first, but I'd really like to have the .class files moved over
> automatically (it is also a problem when I'm compiling more than one class
> at a time when the second class uses new methods in the first class).
>
> Thanks!
>
> Hal
- Next message: Larry: "Re: How do I use my string to change values in the HTML doc ?"
- Previous message: Larry: "Re: Problem JSP Bean data sharing with some Servlets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|