On Tue, 22 Sep 1998 [EMAIL PROTECTED] wrote:
> > CP = $(ROOT):$$CLASSPATH
> > COMPILER = jikes
> > VM = java
> > COPTIONS = -g -deprecation -depend -d $(ROOT)/classes
> > ROPTIONS = -Daxiomroot=$(ROOT)
> >
> > [a listing of java files here]
> >
> > %.class: %.java
> > cd $(@D); $(COMPIL
> Thanks to everyone who wrote back! FWIW, the simplest solution for my
> purposes turned out to be the addition of the following line:
>
> Markus Fritz wrote:
> >
> > Just use
> >
> > vpath %.class $(ROOT)/classes
> >
> > in your makefile
>
>
> Cheers,
> -Armen
>
Please, Just out
> Keith T. Garner wrote:
> > >
> > > On Mon, Sep 14, 1998 at 07:17:17, David Warnock said:
> > > > I thought I should be able to connect "find . -name *.class" to
> > "rm"
> > > > somehow using redirection or pipes but cannot get it to work.
> > >
> > > You were very close to one possible solution
Thanks to everyone who wrote back! FWIW, the simplest solution for my
purposes turned out to be the addition of the following line:
Markus Fritz wrote:
>
> Just use
>
> vpath %.class $(ROOT)/classes
>
> in your makefile
Cheers,
-Armen
>
> Armen Yampolsky wrote:
> >
> > I have a p
Armen Yampolsky wrote:
>
> I have a problem with this approach and using make, (probably because
> I'm not using make correctly), in that if I use the -d option and use a
> separate .class directory tree, make doesn't recognize the up-to-date
> files there and recompiles everything anyway. I can
Just use
vpath %.class $(ROOT)/classes
in your makefile
Armen Yampolsky wrote:
>
> I have a problem with this approach and using make, (probably because
> I'm not using make correctly), in that if I use the -d option and use a
> separate .class directory tree, make doesn't recognize th
Keith T. Garner wrote:
> >
> > On Mon, Sep 14, 1998 at 07:17:17, David Warnock said:
> > > I thought I should be able to connect "find . -name *.class" to
> "rm"
> > > somehow using redirection or pipes but cannot get it to work.
> >
> > You were very close to one possible solution :)
> >
> > find
David Warnock wrote:
>
> Paul Reavis wrote:
>
> > All of which is more complicated than my favorite method, which is to
> > specify a separate .class file directory with the "-d" option (javac or
> > jikes); then it's just
> >
> > rm -r classes\*
>
> Ok, this is neat. Do I get a complete duplic
You didn't specify whether you wanted an easy way or a hard way. If
you want a hard way, hack the following recursive perl script to only
remove *.class.
#!/usr/local/bin/perl
use English;
sub delete_directory_tree {
my($dir) = shift;
my($path);
unless (opendir(DIR, $dir)) {
You can use xargs to construct a list of files for rm to delete. This
should work:
find ./ -name '*.class' -print | xargs rm
On Mon, 14 Sep 1998, David Warnock wrote:
> Hi,
>
> I am using Jikes 0.37 and whilst I trust it's -depends option I like to
> delete all cl
Paul Reavis wrote:
> All of which is more complicated than my favorite method, which is to
> specify a separate .class file directory with the "-d" option (javac or
> jikes); then it's just
>
> rm -r classes\*
Ok, this is neat. Do I get a complete duplicate of my source directories
for the clas
Keith T. Garner wrote:
>
> On Mon, Sep 14, 1998 at 07:17:17, David Warnock said:
> > I thought I should be able to connect "find . -name *.class" to "rm"
> > somehow using redirection or pipes but cannot get it to work.
>
> You were very close to one possible solution :)
>
> find . -name *.clas
Keith T. Garner wrote:
On Mon, Sep 14, 1998 at 07:17:17, David Warnock said:
> I thought I should be able to connect "find . -name *.class" to "rm"
> somehow using redirection or pipes but cannot get it to work.
You were very close to one possible solution :)
find . -name *.class | xargs rm
xargs
dence: list
> Resent-Sender: [EMAIL PROTECTED]
>
> Hi,
>
> I am using Jikes 0.37 and whilst I trust it's -depends option I like to
> delete all class files prior to building a release. I am also very new
> to Linux and cannot see how to delete *.class files from a dir
On Mon, Sep 14, 1998 at 07:17:17, David Warnock said:
> I thought I should be able to connect "find . -name *.class" to "rm"
> somehow using redirection or pipes but cannot get it to work.
You were very close to one possible solution :)
find . -name *.class | xargs rm
xargs is a wonderful progr
ros.com/nkapoor
---~~~--
> -Original Message-
> From: David Warnock [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, September 14, 1998 2:17 PM
> To: java-linux
> Subject: Delete all class files
>
> Hi,
>
> I a
Hi,
I am using Jikes 0.37 and whilst I trust it's -depends option I like to
delete all class files prior to building a release. I am also very new
to Linux and cannot see how to delete *.class files from a directory
tree. Under windows NT I could use "del *.class /s" but "rm
17 matches
Mail list logo