[ 
http://jira.codehaus.org/browse/MAPPASM-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter closed MAPPASM-34.
-------------------------------

         Assignee: Brett Porter
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 1.0)

can't reproduce on current trunk, Maven 2.0.9

> Generated bat fails if extraJvmArguments have multiline content
> ---------------------------------------------------------------
>
>                 Key: MAPPASM-34
>                 URL: http://jira.codehaus.org/browse/MAPPASM-34
>             Project: Mojo AppAssembler Plugin
>          Issue Type: Bug
>         Environment: Maven-2.0.8
> appassembler-maven-plugin-1.0-alpha-2
>            Reporter: Marat Radchenko
>            Assignee: Brett Porter
>         Attachments: multiline_jvm_args_fix.patch
>
>
> Here is our plugin declaration:
> {code:xml}
>     <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>appassembler-maven-plugin</artifactId>
>         <version>1.0-alpha-2</version>
>         <configuration>
>           <programs>
>             <program>
>               <mainClass>${project.groupId}.main.Main</mainClass>
>               <name>${project.artifactId}</name>
>             </program>
>           </programs>
>           <extraJvmArguments>
>             -Djava.awt.headless=true -ea -Xdebug 
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006
>             
> -Djava.endorsed.dirs=repo/javax/xml/bind/jaxb-api/2.1${path.separator}repo/javax/xml/ws/jaxws-api/2.1-1
>  -ea
>             
> -Djavax.net.ssl.trustStore=${project.basedir}/src/main/config/truststore
>             -Djavax.net.ssl.trustStorePassword=password
>           </extraJvmArguments>
>         </configuration>
>         <executions>
>           <execution>
>             <phase>package</phase>
>             <goals>
>               <goal>assemble</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {code}
> The sensitive part is extraJvmArguments. Generated launcher contains this:
> {code}
> set EXTRA_JVM_ARGUMENTS=-Djava.awt.headless=true -ea -Xdebug 
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006
>              
> -Djava.endorsed.dirs=repo/javax/xml/bind/jaxb-api/2.1:repo/javax/xml/ws/jaxws-api/2.1-1
>  -ea
>              
> -Djavax.net.ssl.trustStore=/home/marat/projects/billing/impl/src/main/config/truststore
>              -Djavax.net.ssl.trustStorePassword=password
> {code}
> However this is not valid.
> Attached patch replaces carriage returns in pom.xml with spaces.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to