Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10413

Re: filenames on the command line

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: filenames on the command line
Date 2011-12-02 01:35 -0800
Organization Canadian Mind Products
Message-ID <3t6hd75ep488kfvngqvvili6ji5n74v8sn@4ax.com> (permalink)
References <7ea0b15a-e937-4fb8-9045-f5ffca1cf6de@u6g2000vbg.googlegroups.com>

Show all headers | View raw


On Thu, 1 Dec 2011 06:37:50 -0800 (PST), "giuseppe.on.usenet"
<giuseppe.on.usenet@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>he command javac -d . A.java B.java
>compiles successfully, while javac -d . A.java
>halts because it "cannot find symbol: class B". My question is: by
>adding other options, is it possible to have the compiler seek and
>compile B.java without specifying the filename on the command line?

javac *.java

It won't recompile if not necessary.

If you want fast compiles you need ANT , if you have several packages
to compile.

see http://mindprod.com/jgloss/ant.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
For me, the appeal of computer programming is that
even though I am quite a klutz,
I can still produce something, in a sense
perfect, because the computer gives me as many
chances as I please to get it right.
 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

filenames on the command line "giuseppe.on.usenet" <giuseppe.on.usenet@gmail.com> - 2011-12-01 06:37 -0800
  Re: filenames on the command line Lew <lewbloch@gmail.com> - 2011-12-01 06:54 -0800
    Re: filenames on the command line "giuseppe.on.usenet" <giuseppe.on.usenet@gmail.com> - 2011-12-01 07:46 -0800
      Re: filenames on the command line Lew <lewbloch@gmail.com> - 2011-12-01 09:01 -0800
    Re: filenames on the command line Roedy Green <see_website@mindprod.com.invalid> - 2011-12-02 01:56 -0800
  Re: filenames on the command line Roedy Green <see_website@mindprod.com.invalid> - 2011-12-02 01:35 -0800

csiph-web