[
http://jira.codehaus.org/browse/MWAS-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198482#action_198482
]
Jim Solderitsch edited comment on MWAS-57 at 11/16/09 10:05 PM:
----------------------------------------------------------------
Perhaps for this special case, the attribute can be delimited using single
quotes as the outer wrapper and then use double quotes around the path name
that may contain spaces. Of course, a path name with single quotes in the path
could cause problems. Here is the bad example written using single quotes:
script='"/home/jjs/netcds/netcdsPubWAS/Ear/bindsharedlibrary.jacl"'
was (Author: jsolderitsch):
Perhaps for this special case, the attribute can be delimited using single
quotes as the outer wrapper and then use double quotes around the path name
that make contain spaces. Of course, a path name with single quotes in the path
could cause problems. Here is the bad example written using single quotes:
script='"/home/jjs/netcds/netcdsPubWAS/Ear/bindsharedlibrary.jacl"'
> 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