cvs commit: ant/docs/manual/CoreTasks javac.html

2005-07-21 Thread mbenson
mbenson 2005/07/21 08:45:42

  Modified:docs/manual/CoreTasks javac.html
  Log:
  Eliminate confusing wording RE failonerror attribute.
  
  Revision  ChangesPath
  1.53  +3 -3  ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- javac.html29 Apr 2005 18:58:13 -  1.52
  +++ javac.html21 Jul 2005 15:45:42 -  1.53
  @@ -303,9 +303,9 @@
   td align=center valign=topNo/td
 /tr
 tr
  -td valign=topfailonerror/td td valign=top
  -Indicates whether the build will continue even if there are 
compilation errors; defaults to codetrue/code.
  -/td
  +td valign=topfailonerror/td
  +td valign=topIndicates whether compilation errors
  +will fail the build; defaults to codetrue/code./td
   td align=center valign=topNo/td
 /tr
 tr
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2004-12-10 Thread jglick
jglick  2004/12/10 15:16:09

  Modified:docs/manual/CoreTasks javac.html
  Log:
  The manual strongly encourages you to specify source/target levels, yet it 
gave no examples that did so! Putting
  in some usages to plant the bug in people's minds. (Especially important for 
people just starting to use JDK
  1.5, which changed the default source level.)
  
  Revision  ChangesPath
  1.49  +14 -4 ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- javac.html19 Nov 2004 09:07:09 -  1.48
  +++ javac.html10 Dec 2004 23:16:08 -  1.49
  @@ -416,31 +416,39 @@
destdir=quot;${build}quot;
classpath=quot;xyz.jarquot;
debug=quot;onquot;
  + source=quot;1.4quot;
 /gt;/pre
   pcompiles all code.java/code files under the code${src}/code
   directory, and stores
   the code.class/code files in the code${build}/code directory.
   The classpath used includes codexyz.jar/code, and compiling with
  -debug information is on./p
  +debug information is on. The source level is 1.4,
  +so you can use codeassert/code statements./p
   
   pre  lt;javac srcdir=quot;${src}quot;
destdir=quot;${build}quot;
fork=quot;truequot;
  + source=quot;1.2quot;
  + target=quot;1.2quot;
 /gt;/pre
   pcompiles all code.java/code files under the code${src}/code
   directory, and stores the code.class/code files in the
   code${build}/code directory.  This will fork off the javac
  -compiler using the default codejavac/code executable./p
  +compiler using the default codejavac/code executable.
  +The source level is 1.2 (similar to 1.1 or 1.3) and
  +the class files should be runnable under JDK 1.2+ as well./p
   
   pre  lt;javac srcdir=quot;${src}quot;
destdir=quot;${build}quot;
fork=quot;java$$javac.exequot;
  + source=quot;1.5quot;
 /gt;/pre
   pcompiles all code.java/code files under the code${src}/code
   directory, and stores the code.class/code files in the
   code${build}/code directory.  This will fork off the javac
   compiler, using the executable named codejava$javac.exe/code.  Note
  -that the code$/code sign needs to be escaped by a second one./p
  +that the code$/code sign needs to be escaped by a second one.
  +The source level is 1.5, so you can use generics./p
   
   pre  lt;javac srcdir=quot;${src}quot;
destdir=quot;${build}quot;
  @@ -455,7 +463,9 @@
   The classpath used includes codexyz.jar/code, and debug information is 
on.
   Only files under codemypackage/p1/code and codemypackage/p2/code are
   used. All files in and below the codemypackage/p1/testpackage/code
  -directory are excluded from compilation./p
  +directory are excluded from compilation.
  +You didn't specify a source or target level,
  +so the actual values used will depend on which JDK you ran Ant with./p
   
   pre  lt;javac srcdir=quot;${src}:${src2}quot;
destdir=quot;${build}quot;
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2004-12-10 Thread jglick
jglick  2004/12/10 15:17:34

  Modified:docs/manual/CoreTasks Tag: ANT_16_BRANCH javac.html
  Log:
  merge
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.42.2.7  +14 -4 ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.42.2.6
  retrieving revision 1.42.2.7
  diff -u -r1.42.2.6 -r1.42.2.7
  --- javac.html19 Nov 2004 09:10:00 -  1.42.2.6
  +++ javac.html10 Dec 2004 23:17:34 -  1.42.2.7
  @@ -416,31 +416,39 @@
destdir=quot;${build}quot;
classpath=quot;xyz.jarquot;
debug=quot;onquot;
  + source=quot;1.4quot;
 /gt;/pre
   pcompiles all code.java/code files under the code${src}/code
   directory, and stores
   the code.class/code files in the code${build}/code directory.
   The classpath used includes codexyz.jar/code, and compiling with
  -debug information is on./p
  +debug information is on. The source level is 1.4,
  +so you can use codeassert/code statements./p
   
   pre  lt;javac srcdir=quot;${src}quot;
destdir=quot;${build}quot;
fork=quot;truequot;
  + source=quot;1.2quot;
  + target=quot;1.2quot;
 /gt;/pre
   pcompiles all code.java/code files under the code${src}/code
   directory, and stores the code.class/code files in the
   code${build}/code directory.  This will fork off the javac
  -compiler using the default codejavac/code executable./p
  +compiler using the default codejavac/code executable.
  +The source level is 1.2 (similar to 1.1 or 1.3) and
  +the class files should be runnable under JDK 1.2+ as well./p
   
   pre  lt;javac srcdir=quot;${src}quot;
destdir=quot;${build}quot;
fork=quot;java$$javac.exequot;
  + source=quot;1.5quot;
 /gt;/pre
   pcompiles all code.java/code files under the code${src}/code
   directory, and stores the code.class/code files in the
   code${build}/code directory.  This will fork off the javac
   compiler, using the executable named codejava$javac.exe/code.  Note
  -that the code$/code sign needs to be escaped by a second one./p
  +that the code$/code sign needs to be escaped by a second one.
  +The source level is 1.5, so you can use generics./p
   
   pre  lt;javac srcdir=quot;${src}quot;
destdir=quot;${build}quot;
  @@ -455,7 +463,9 @@
   The classpath used includes codexyz.jar/code, and debug information is 
on.
   Only files under codemypackage/p1/code and codemypackage/p2/code are
   used. All files in and below the codemypackage/p1/testpackage/code
  -directory are excluded from compilation./p
  +directory are excluded from compilation.
  +You didn't specify a source or target level,
  +so the actual values used will depend on which JDK you ran Ant with./p
   
   pre  lt;javac srcdir=quot;${src}:${src2}quot;
destdir=quot;${build}quot;
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2004-10-28 Thread bodewig
bodewig 2004/10/28 04:34:12

  Modified:docs/manual/CoreTasks javac.html
  Log:
  Some words of warning - always specify -target and -source or you are lost 
with JDK 1.5
  
  Revision  ChangesPath
  1.47  +6 -4  ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- javac.html4 Jun 2004 18:29:57 -   1.46
  +++ javac.html28 Oct 2004 11:34:12 -  1.47
  @@ -239,7 +239,7 @@
   particular, if you use JDK 1.4+ the generated classes will not be
   usable for a 1.1 Java VM unless you explicitly set this attribute
   to the value 1.1 (which is the default value for JDK 1.1 to
  -1.3)./b/td
  +1.3).  We highly recommend to always specify this attribute./b/td
   td align=center valign=topNo/td
 /tr
 tr
  @@ -316,9 +316,11 @@
   running in a 1.3 VM) and codejikes/code.br If you use this
   attribute together with codejikes/code, you must make sure
   that your version of jikes supports the code-source/code
  -switch.br Legal values are code1.3/code, code1.4/code and 
code1.5/code
  -ndash; by default, no code-source/code argument will be used
  -at all./td
  +switch.  By default, no code-source/code argument will be used
  +at all.br
  +bNote that the default value depends on the JVM that is running
  +Ant.  We highly recommend to always specify this
  +attribute./b/td
   
   td align=center valign=topNo/td
 /tr
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2004-10-28 Thread bodewig
bodewig 2004/10/28 04:34:58

  Modified:docs/manual/CoreTasks Tag: ANT_16_BRANCH javac.html
  Log:
  merge
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.42.2.5  +6 -4  ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.42.2.4
  retrieving revision 1.42.2.5
  diff -u -r1.42.2.4 -r1.42.2.5
  --- javac.html9 Feb 2004 22:12:07 -   1.42.2.4
  +++ javac.html28 Oct 2004 11:34:58 -  1.42.2.5
  @@ -240,7 +240,7 @@
   particular, if you use JDK 1.4+ the generated classes will not be
   usable for a 1.1 Java VM unless you explicitly set this attribute
   to the value 1.1 (which is the default value for JDK 1.1 to
  -1.3)./b/td
  +1.3).  We highly recommend to always specify this attribute./b/td
   td align=center valign=topNo/td
 /tr
 tr
  @@ -317,9 +317,11 @@
   running in a 1.3 VM) and codejikes/code.br If you use this
   attribute together with codejikes/code, you must make sure
   that your version of jikes supports the code-source/code
  -switch.br Legal values are code1.3/code, code1.4/code and 
code1.5/code
  -ndash; by default, no code-source/code argument will be used
  -at all./td
  +switch.  By default, no code-source/code argument will be used
  +at all.br
  +bNote that the default value depends on the JVM that is running
  +Ant.  We highly recommend to always specify this
  +attribute./b/td
   
   td align=center valign=topNo/td
 /tr
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2004-06-04 Thread mbenson
mbenson 2004/06/04 11:29:57

  Modified:docs/manual/CoreTasks javac.html
  Log:
  Changed default tempdir to java.io.tmpdir instead of user.dir.
  PR: 29391, 4590
  
  Revision  ChangesPath
  1.46  +3 -2  ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- javac.html9 Feb 2004 21:50:05 -   1.45
  +++ javac.html4 Jun 2004 18:29:57 -   1.46
  @@ -344,8 +344,9 @@
 This is only used if the task is forked and the
 command line args length exceeds 4k.
 emSince Ant 1.6/em./td
  -td align=center valign=topNo; default is the current working
  -   directory./td
  +td align=center valign=top
  +  No; default is ijava.io.tmpdir/i.
  +/td
 /tr
   /table
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2004-02-03 Thread peterreilly
peterreilly2004/02/03 01:07:16

  Modified:docs/manual/CoreTasks javac.html
  Log:
  Update manual entry for javac to document when tempdir is used
  PR: 26559
  Obtained from: Steven Scheffler
  
  Revision  ChangesPath
  1.44  +2 -0  ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- javac.html7 Jan 2004 16:49:30 -   1.43
  +++ javac.html3 Feb 2004 09:07:16 -   1.44
  @@ -341,6 +341,8 @@
 tr
   td valign=toptempdir/td
   td valign=topWhere Ant should place temporary files.
  +  This is only used if the task is forked and the
  +  command line args length exceeds 4k.
 emSince Ant 1.6/em./td
   td align=center valign=topNo; default is the current working
  directory./td
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2003-08-15 Thread bodewig
bodewig 2003/08/15 02:11:47

  Modified:docs/manual/CoreTasks javac.html
  Log:
  Add example for sourcepath=.
  
  PR: 22427
  Submitted by: Jaroslav Tulach jtulach at netbeans dot org
  
  Revision  ChangesPath
  1.42  +14 -0 ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- javac.html14 Aug 2003 14:37:07 -  1.41
  +++ javac.html15 Aug 2003 09:11:47 -  1.42
  @@ -499,6 +499,20 @@
   a href=http://ant.apache.org/faq.html#always-recompiles;Ant FAQ/a
   for additional information./p
   
  +p
  +If you wish to compile only files explicitly specified and disable
  +javac's default searching mechanism then you can unset the sourcepath
  +attribute:
  +pre  lt;javac sourcepath=quot;quot; srcdir=quot;${src}quot;
  + destdir=quot;${build}quot; gt;
  +lt;include name=**/*.java /gt;
  +lt;exclude name=**/Example.java /gt;
  +  lt;/javacgt;/pre
  +That way the javac will compile all java source files under 
quot;${src}quot;
  +directory but skip the examples. The compiler will even produce errors if 
some of
  +the non-example files refers to them.
  +/p
  +
   pbNote:/b If you are using Ant on Windows and a new DOS window pops up
   for every use of an external compiler, this may be a problem of the JDK you 
are
   using.  This problem may occur with all JDKs lt; 1.2./p
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/docs/manual/CoreTasks javac.html

2003-08-14 Thread bodewig
bodewig 2003/08/14 07:37:07

  Modified:docs/manual/CoreTasks javac.html
  Log:
  Record default for javac's verbose attribute, submitted by Larry Shatzer
  
  Revision  ChangesPath
  1.41  +2 -1  ant/docs/manual/CoreTasks/javac.html
  
  Index: javac.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/javac.html,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- javac.html15 May 2003 12:44:00 -  1.40
  +++ javac.html14 Aug 2003 14:37:07 -  1.41
  @@ -243,7 +243,8 @@
 /tr
 tr
   td valign=topverbose/td
  -td valign=topAsks the compiler for verbose output./td
  +td valign=topAsks the compiler for verbose output; defaults to
  +  codeno/code./td
   td align=center valign=topNo/td
 /tr
 tr
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]