donaldp 01/12/29 17:16:50
Modified:
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers
Jikes.java
Log:
Remove those magic proeprties
Revision Changes Path
1.7 +0 -35
jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java
Index: Jikes.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers/Jikes.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Jikes.java 30 Dec 2001 00:21:51 -0000 1.6
+++ Jikes.java 30 Dec 2001 01:16:50 -0000 1.7
@@ -116,22 +116,6 @@
{
cmd.createArgument().setValue( "-depend" );
}
- /**
- * XXX Perhaps we shouldn't use properties for these three options
- * (emacs mode, warnings and pedantic), but include it in the javac
- * directive?
- */
-
- /**
- * Jikes has the nice feature to print error messages in a form
readable
- * by emacs, so that emacs can directly set the cursor to the place,
- * where the error occured.
- */
- String emacsProperty = m_project.getProperty( "build.compiler.emacs"
);
- if( emacsProperty != null && Project.toBoolean( emacsProperty ) )
- {
- cmd.createArgument().setValue( "+E" );
- }
if( m_attributes.getNowarn() )
{
@@ -142,25 +126,6 @@
* compatibility
*/
cmd.createArgument().setValue( "-nowarn" );
- }
-
- /**
- * Jikes can issue pedantic warnings.
- */
- String pedanticProperty = m_project.getProperty(
"build.compiler.pedantic" );
- if( pedanticProperty != null && Project.toBoolean( pedanticProperty
) )
- {
- cmd.createArgument().setValue( "+P" );
- }
-
- /**
- * Jikes supports something it calls "full dependency checking", see
the
- * jikes documentation for differences between -depend and +F.
- */
- String fullDependProperty = m_project.getProperty(
"build.compiler.fulldepend" );
- if( fullDependProperty != null && Project.toBoolean(
fullDependProperty ) )
- {
- cmd.createArgument().setValue( "+F" );
}
addCurrentCompilerArgs( cmd );
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>