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/08/03 08:06:22 UTC

[jira] Created: (MAVEN-1412) command line -D options seemingly ignored

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1412

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1412
    Summary: command line -D options seemingly ignored
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0

   Assignee: 
   Reporter: David Blevins

    Created: Tue, 3 Aug 2004 2:04 AM
    Updated: Tue, 3 Aug 2004 2:04 AM
Environment: $ uname -a
CYGWIN_NT-5.1 Pepe 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

$ $JAVA_HOME/bin/java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b01)
Java HotSpot(TM) Client VM (build 1.4.2_03-b01, mixed mode)


Description:
Trying to run the Geronimo build with -Dmaven.test.failure.ignore=true does not work on the command line.  This option does work when added to the project.properties file.

Editing the maven shell script to echo the java command rather than execute yeilds this output:

/program_files/jdk1.4.2/bin/java -Xmx256m -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djava.endorsed.dirs=C:\program_files\jdk1.4.2\lib\endorsed;C:\program_files\maven-1.0\lib\endorsed -classpath C:\program_files\maven-1.0/lib/forehead-1.0-beta-5.jar -Dforehead.conf.file=C:\program_files\maven-1.0/bin/forehead.conf -Dtools.jar=C:\program_files\jdk1.4.2/lib/tools.jar -Dmaven.home=C:\program_files\maven-1.0 com.werken.forehead.Forehead -Dmaven.test.failure.ignore=true



---------------------------------------------------------------------
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: (MAVEN-1412) command line -D options seemingly ignored

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

     Author: Carlos Sanchez
    Created: Tue, 3 Aug 2004 10:11 AM
       Body:
It would be helpful if the -X output has a ClassCastException to see if it is related to other previous issues
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1412?page=comments#action_22684

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1412

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1412
    Summary: command line -D options seemingly ignored
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0

   Assignee: 
   Reporter: David Blevins

    Created: Tue, 3 Aug 2004 2:04 AM
    Updated: Tue, 3 Aug 2004 10:11 AM
Environment: $ uname -a
CYGWIN_NT-5.1 Pepe 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

$ $JAVA_HOME/bin/java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b01)
Java HotSpot(TM) Client VM (build 1.4.2_03-b01, mixed mode)


Description:
Trying to run the Geronimo build with -Dmaven.test.failure.ignore=true does not work on the command line.  This option does work when added to the project.properties file.

Editing the maven shell script to echo the java command rather than execute yeilds this output:

/program_files/jdk1.4.2/bin/java -Xmx256m -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djava.endorsed.dirs=C:\program_files\jdk1.4.2\lib\endorsed;C:\program_files\maven-1.0\lib\endorsed -classpath C:\program_files\maven-1.0/lib/forehead-1.0-beta-5.jar -Dforehead.conf.file=C:\program_files\maven-1.0/bin/forehead.conf -Dtools.jar=C:\program_files\jdk1.4.2/lib/tools.jar -Dmaven.home=C:\program_files\maven-1.0 com.werken.forehead.Forehead -Dmaven.test.failure.ignore=true



---------------------------------------------------------------------
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: (MAVEN-1412) command line -D options seemingly ignored

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

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Sat, 23 Oct 2004 2:56 AM

let us know if this is still a problem, or you have any additional info. this works for me on my builds.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1412

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1412
    Summary: command line -D options seemingly ignored
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: CANNOT REPRODUCE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0

   Assignee: 
   Reporter: David Blevins

    Created: Tue, 3 Aug 2004 2:04 AM
    Updated: Sat, 23 Oct 2004 2:56 AM
Environment: $ uname -a
CYGWIN_NT-5.1 Pepe 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

$ $JAVA_HOME/bin/java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b01)
Java HotSpot(TM) Client VM (build 1.4.2_03-b01, mixed mode)


Description:
Trying to run the Geronimo build with -Dmaven.test.failure.ignore=true does not work on the command line.  This option does work when added to the project.properties file.

Editing the maven shell script to echo the java command rather than execute yeilds this output:

/program_files/jdk1.4.2/bin/java -Xmx256m -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djava.endorsed.dirs=C:\program_files\jdk1.4.2\lib\endorsed;C:\program_files\maven-1.0\lib\endorsed -classpath C:\program_files\maven-1.0/lib/forehead-1.0-beta-5.jar -Dforehead.conf.file=C:\program_files\maven-1.0/bin/forehead.conf -Dtools.jar=C:\program_files\jdk1.4.2/lib/tools.jar -Dmaven.home=C:\program_files\maven-1.0 com.werken.forehead.Forehead -Dmaven.test.failure.ignore=true



---------------------------------------------------------------------
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: (MAVEN-1412) command line -D options seemingly ignored

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

     Author: Carlos Sanchez
    Created: Tue, 3 Aug 2004 5:20 AM
       Body:
Could you post the output of running maven with the -X option
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1412?page=comments#action_22678

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1412

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1412
    Summary: command line -D options seemingly ignored
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0

   Assignee: 
   Reporter: David Blevins

    Created: Tue, 3 Aug 2004 2:04 AM
    Updated: Tue, 3 Aug 2004 5:20 AM
Environment: $ uname -a
CYGWIN_NT-5.1 Pepe 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

$ $JAVA_HOME/bin/java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b01)
Java HotSpot(TM) Client VM (build 1.4.2_03-b01, mixed mode)


Description:
Trying to run the Geronimo build with -Dmaven.test.failure.ignore=true does not work on the command line.  This option does work when added to the project.properties file.

Editing the maven shell script to echo the java command rather than execute yeilds this output:

/program_files/jdk1.4.2/bin/java -Xmx256m -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djava.endorsed.dirs=C:\program_files\jdk1.4.2\lib\endorsed;C:\program_files\maven-1.0\lib\endorsed -classpath C:\program_files\maven-1.0/lib/forehead-1.0-beta-5.jar -Dforehead.conf.file=C:\program_files\maven-1.0/bin/forehead.conf -Dtools.jar=C:\program_files\jdk1.4.2/lib/tools.jar -Dmaven.home=C:\program_files\maven-1.0 com.werken.forehead.Forehead -Dmaven.test.failure.ignore=true



---------------------------------------------------------------------
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: (MAVEN-1412) command line -D options seemingly ignored

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

     Author: Brett Porter
    Created: Tue, 3 Aug 2004 10:01 AM
       Body:
-X output may not be helpful, but you can check it. -D options work for me... and should win over build.properties settings, but can you check whether it is set there? (On windows, this is probably in c:\documents and settings\dblevins\build.properties)

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1412?page=comments#action_22683

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1412

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1412
    Summary: command line -D options seemingly ignored
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
   Versions:
             1.0

   Assignee: 
   Reporter: David Blevins

    Created: Tue, 3 Aug 2004 2:04 AM
    Updated: Tue, 3 Aug 2004 10:01 AM
Environment: $ uname -a
CYGWIN_NT-5.1 Pepe 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin

$ $JAVA_HOME/bin/java -version
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b01)
Java HotSpot(TM) Client VM (build 1.4.2_03-b01, mixed mode)


Description:
Trying to run the Geronimo build with -Dmaven.test.failure.ignore=true does not work on the command line.  This option does work when added to the project.properties file.

Editing the maven shell script to echo the java command rather than execute yeilds this output:

/program_files/jdk1.4.2/bin/java -Xmx256m -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djava.endorsed.dirs=C:\program_files\jdk1.4.2\lib\endorsed;C:\program_files\maven-1.0\lib\endorsed -classpath C:\program_files\maven-1.0/lib/forehead-1.0-beta-5.jar -Dforehead.conf.file=C:\program_files\maven-1.0/bin/forehead.conf -Dtools.jar=C:\program_files\jdk1.4.2/lib/tools.jar -Dmaven.home=C:\program_files\maven-1.0 com.werken.forehead.Forehead -Dmaven.test.failure.ignore=true



---------------------------------------------------------------------
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