You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/02 15:12:06 UTC

[jira] Created: (MPJAVA-20) Cannot compile with JDK 1.3.1 because of wrong parameter

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-20
    Summary: Cannot compile with JDK 1.3.1 because of wrong parameter
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Jason van Zyl
   Reporter: Martin Jaeger

    Created: Wed, 2 Jun 2004 9:11 AM
    Updated: Wed, 2 Jun 2004 9:11 AM
Environment: Solaris 2.8
Maven RC3
maven-java-plugin-1.4

Description:
Impossible to compile with Javac 1.3.1 because the plugin everytime sets the source parameter and Javac 1.3.1 fails, because it does not recognize the parameter "source":

This was introduced in the plugin 1.4.


[javac] javac: invalid flag: -source
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac]   -g                        Generate all debugging info
    [javac]   -g:none                   Generate no debugging info
    [javac]   -g:{lines,vars,source}    Generate only some debugging info
    [javac]   -O                        Optimize; may hinder debugging or enlarge class file
    [javac]   -nowarn                   Generate no warnings
    [javac]   -verbose                  Output messages about what the compiler is doing
    [javac]   -deprecation              Output source locations where deprecated APIs are used
    [javac]   -classpath <path>         Specify where to find user class files
    [javac]   -sourcepath <path>        Specify where to find input source files
    [javac]   -bootclasspath <path>     Override location of bootstrap class files
    [javac]   -extdirs <dirs>           Override location of installed extensions
    [javac]   -d <directory>            Specify where to place generated class files
    [javac]   -encoding <encoding>      Specify character encoding used by source files
    [javac]   -target <release>         Generate class files for specific VM version
    [javac] 

BUILD FAILED
File...... /home/mjaeger/.maven/plugins/maven-java-plugin-1.4/plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 9 seconds
Finished at: Wed Jun 02 15:02:59 MEST 2004



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPJAVA-20) Cannot compile with JDK 1.3.1 because of wrong parameter

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Sat, 12 Jun 2004 7:39 PM

worked for me - but there was some duplication. Now only specifies source if you provide it and there is no default value in plugin.properties.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-20
    Summary: Cannot compile with JDK 1.3.1 because of wrong parameter
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Brett Porter
   Reporter: Martin Jaeger

    Created: Wed, 2 Jun 2004 9:11 AM
    Updated: Sat, 12 Jun 2004 7:39 PM
Environment: Solaris 2.8
Maven RC3
maven-java-plugin-1.4

Description:
Impossible to compile with Javac 1.3.1 because the plugin everytime sets the source parameter and Javac 1.3.1 fails, because it does not recognize the parameter "source":

This was introduced in the plugin 1.4.


[javac] javac: invalid flag: -source
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac]   -g                        Generate all debugging info
    [javac]   -g:none                   Generate no debugging info
    [javac]   -g:{lines,vars,source}    Generate only some debugging info
    [javac]   -O                        Optimize; may hinder debugging or enlarge class file
    [javac]   -nowarn                   Generate no warnings
    [javac]   -verbose                  Output messages about what the compiler is doing
    [javac]   -deprecation              Output source locations where deprecated APIs are used
    [javac]   -classpath <path>         Specify where to find user class files
    [javac]   -sourcepath <path>        Specify where to find input source files
    [javac]   -bootclasspath <path>     Override location of bootstrap class files
    [javac]   -extdirs <dirs>           Override location of installed extensions
    [javac]   -d <directory>            Specify where to place generated class files
    [javac]   -encoding <encoding>      Specify character encoding used by source files
    [javac]   -target <release>         Generate class files for specific VM version
    [javac] 

BUILD FAILED
File...... /home/mjaeger/.maven/plugins/maven-java-plugin-1.4/plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 9 seconds
Finished at: Wed Jun 02 15:02:59 MEST 2004



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJAVA-20) Cannot compile with JDK 1.3.1 because of wrong parameter

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Joe Gonzales
    Created: Mon, 7 Jun 2004 9:52 PM
       Body:
This also happens on Linux.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVA-20?page=comments#action_20462

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-20
    Summary: Cannot compile with JDK 1.3.1 because of wrong parameter
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Brett Porter
   Reporter: Martin Jaeger

    Created: Wed, 2 Jun 2004 9:11 AM
    Updated: Mon, 7 Jun 2004 9:52 PM
Environment: Solaris 2.8
Maven RC3
maven-java-plugin-1.4

Description:
Impossible to compile with Javac 1.3.1 because the plugin everytime sets the source parameter and Javac 1.3.1 fails, because it does not recognize the parameter "source":

This was introduced in the plugin 1.4.


[javac] javac: invalid flag: -source
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac]   -g                        Generate all debugging info
    [javac]   -g:none                   Generate no debugging info
    [javac]   -g:{lines,vars,source}    Generate only some debugging info
    [javac]   -O                        Optimize; may hinder debugging or enlarge class file
    [javac]   -nowarn                   Generate no warnings
    [javac]   -verbose                  Output messages about what the compiler is doing
    [javac]   -deprecation              Output source locations where deprecated APIs are used
    [javac]   -classpath <path>         Specify where to find user class files
    [javac]   -sourcepath <path>        Specify where to find input source files
    [javac]   -bootclasspath <path>     Override location of bootstrap class files
    [javac]   -extdirs <dirs>           Override location of installed extensions
    [javac]   -d <directory>            Specify where to place generated class files
    [javac]   -encoding <encoding>      Specify character encoding used by source files
    [javac]   -target <release>         Generate class files for specific VM version
    [javac] 

BUILD FAILED
File...... /home/mjaeger/.maven/plugins/maven-java-plugin-1.4/plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 9 seconds
Finished at: Wed Jun 02 15:02:59 MEST 2004



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJAVA-20) Cannot compile with JDK 1.3.1 because of wrong parameter

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Joe Gonzales
    Created: Tue, 8 Jun 2004 4:09 AM
       Body:
This vesion definitely stop me from compiling using jdk1.3.1 so I forced my maven-1.0-rc3 environment to use maven-java-plugin-1.3.jar instead of maven-java-plugin-1.4.jar.  This temporarily solve the problem.  I may have a look at the code and see if I can help.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVA-20?page=comments#action_20467

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-20
    Summary: Cannot compile with JDK 1.3.1 because of wrong parameter
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Brett Porter
   Reporter: Martin Jaeger

    Created: Wed, 2 Jun 2004 9:11 AM
    Updated: Tue, 8 Jun 2004 4:09 AM
Environment: Solaris 2.8
Maven RC3
maven-java-plugin-1.4

Description:
Impossible to compile with Javac 1.3.1 because the plugin everytime sets the source parameter and Javac 1.3.1 fails, because it does not recognize the parameter "source":

This was introduced in the plugin 1.4.


[javac] javac: invalid flag: -source
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac]   -g                        Generate all debugging info
    [javac]   -g:none                   Generate no debugging info
    [javac]   -g:{lines,vars,source}    Generate only some debugging info
    [javac]   -O                        Optimize; may hinder debugging or enlarge class file
    [javac]   -nowarn                   Generate no warnings
    [javac]   -verbose                  Output messages about what the compiler is doing
    [javac]   -deprecation              Output source locations where deprecated APIs are used
    [javac]   -classpath <path>         Specify where to find user class files
    [javac]   -sourcepath <path>        Specify where to find input source files
    [javac]   -bootclasspath <path>     Override location of bootstrap class files
    [javac]   -extdirs <dirs>           Override location of installed extensions
    [javac]   -d <directory>            Specify where to place generated class files
    [javac]   -encoding <encoding>      Specify character encoding used by source files
    [javac]   -target <release>         Generate class files for specific VM version
    [javac] 

BUILD FAILED
File...... /home/mjaeger/.maven/plugins/maven-java-plugin-1.4/plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 9 seconds
Finished at: Wed Jun 02 15:02:59 MEST 2004



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJAVA-20) Cannot compile with JDK 1.3.1 because of wrong parameter

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Martin Jaeger
    Created: Mon, 14 Jun 2004 1:48 AM
       Body:
Hi Brett

Your duplication removal fixed the plugin. Now the -source parameter is not longer in the javac call.
Thanks
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVA-20?page=comments#action_20616

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-20

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-20
    Summary: Cannot compile with JDK 1.3.1 because of wrong parameter
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Brett Porter
   Reporter: Martin Jaeger

    Created: Wed, 2 Jun 2004 9:11 AM
    Updated: Mon, 14 Jun 2004 1:48 AM
Environment: Solaris 2.8
Maven RC3
maven-java-plugin-1.4

Description:
Impossible to compile with Javac 1.3.1 because the plugin everytime sets the source parameter and Javac 1.3.1 fails, because it does not recognize the parameter "source":

This was introduced in the plugin 1.4.


[javac] javac: invalid flag: -source
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac]   -g                        Generate all debugging info
    [javac]   -g:none                   Generate no debugging info
    [javac]   -g:{lines,vars,source}    Generate only some debugging info
    [javac]   -O                        Optimize; may hinder debugging or enlarge class file
    [javac]   -nowarn                   Generate no warnings
    [javac]   -verbose                  Output messages about what the compiler is doing
    [javac]   -deprecation              Output source locations where deprecated APIs are used
    [javac]   -classpath <path>         Specify where to find user class files
    [javac]   -sourcepath <path>        Specify where to find input source files
    [javac]   -bootclasspath <path>     Override location of bootstrap class files
    [javac]   -extdirs <dirs>           Override location of installed extensions
    [javac]   -d <directory>            Specify where to place generated class files
    [javac]   -encoding <encoding>      Specify character encoding used by source files
    [javac]   -target <release>         Generate class files for specific VM version
    [javac] 

BUILD FAILED
File...... /home/mjaeger/.maven/plugins/maven-java-plugin-1.4/plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 9 seconds
Finished at: Wed Jun 02 15:02:59 MEST 2004



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org