[
http://jira.codehaus.org/browse/MWAS-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198480#action_198480
]
Jim Solderitsch edited comment on MWAS-57 at 11/16/09 9:29 PM:
---------------------------------------------------------------
The problem is that the file reference in the generated ant script begins and
ends with & quot ;
An extra set of true double quotes doesn't matter -- the file can be found in
CentOS (running bash). But the script attribute for wsAdmin uses the HTML
escaped quote character rather than a real " and this doesn't work.
Something in the code is trying to handle double quote as a special character
that requires conversion.
Hope this helps.
was (Author: jsolderitsch):
The problem is that the file reference is the generated ant script begins
and ends with & quot ;
An extra set of true double quotes doesn't matter -- the file can be found in
CentOS (running bash). But the script attribute for wsAdmin uses the HTML
escaped quote character rather than a real " and this doesn't work.
Something in the code is trying to handle double quote as a special character
that requires conversion.
Hope this helps.
> Script elements for wsadmin goal have extra quote marks
> -------------------------------------------------------
>
> Key: MWAS-57
> URL: http://jira.codehaus.org/browse/MWAS-57
> Project: Maven 2.x WebSphere 6 Plugin
> Issue Type: Bug
> Affects Versions: 1.1.1
> Environment: CentOS 5.3, Websphere 6.1.0.27
> Reporter: Jim Solderitsch
> Assignee: David J. M. Karlsen
> Attachments: bad quot.jpg
>
>
> Here is what my pom fragment looks like:
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>was6-maven-plugin</artifactId>
> <version>1.2-SNAPSHOT</version>
> <executions>
> <execution>
> <id>deploy</id>
> <phase>validate</phase>
> <goals>
> <goal>wsAdmin</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <wasHome>/opt/IBM/SDP/runtimes/base_v61</
> wasHome>
> <profileName>WTE_APPSRV61_FEP1</profileName>
> <conntype>SOAP</conntype>
> <script>bindsharedlibrary.jacl</script>
> <language>jacl</language>
> <host>jjscentos</host>
> <user>foo</user>
> <password>bar</password>
> </configuration>
> </plugin>
> The buildfile that gets generated puts a " around the script path
> that gets generated from the script element;
> For example:
> <wsAdmin wasHome="/opt/IBM/SDP/runtimes/base_v61"
> profileName="WTE_APPSRV61_FEP1" script=""/home/jjs/netcds/
> netcdsPubWAS/Ear/bindsharedlibrary.jacl"" lang="jacl"
> conntype="SOAP" host="jjscentos" user="foo" password="bar"
> jvmMaxMemory="256M" failonerror="true"/>
> This leads to wsadmin complaining that the file can't be found.
> The file exists without the " around the name -- the plugin is adding
> the quote marks.
> What can I do about this?
--
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