Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\JESUS M REDEEMER>d:
Sir,
I am getting this error while doing anttest command....I am trying a tutorial pdf provided in jbpm-bpel-1.1.1...
D:\>cd "duke's bank"
D:\duke's bank>cd jbpm-bpel-1.1.1
D:\duke's bank\jbpm-bpel-1.1.1>cd examples
D:\duke's bank\jbpm-bpel-1.1.1\examples>ant test
Buildfile: build.xml
test:
test:
detect.wsdl:
get.published.wsdl:
[copy] Copying 5 files to D:\duke's bank\jbpm-bpel-1.1.1\examples\atm\targe
t\resources\web\wsdl
check.mapping:
generate.mapping:
detect.mapping.tool:
wstools:
detect.mapping.tool:
wscompile:
BUILD FAILED
D:\duke's bank\jbpm-bpel-1.1.1\examples\build.xml:92: The following error occurr
ed while executing this line:
D:\duke's bank\jbpm-bpel-1.1.1\examples\build.xml:39: The following error occurr
ed while executing this line:
D:\duke's bank\jbpm-bpel-1.1.1\examples\common\mapping-build.xml:148: The follow
ing error occurred while executing this line:
D:\duke's bank\jbpm-bpel-1.1.1\examples\common\mapping-build.xml:121: unbalanced
quotes in -Duser.dir=D:\duke's bank\jbpm-bpel-1.1.1\examples\atm
Total time: 3 seconds
D:\duke's bank\jbpm-bpel-1.1.1\examples>
I see two problems looking at this directory path: D:\duke's bank
First, the single quote is confusing the parser, that is why you are getting this error:
unbalanced quotes in -Duser.dir=D:\duke's bank\jbpm-bpel-1.1.1\examples\atm
Second, the space is also going to cause problems for the same reason - some parser just cannot handle it.
If you did it correctly, the error should have gone away. There is no guarantee, however, that you will not run into another error. Please post the output you are now seeing, including the ant command you entered.
beata jane
Ranch Hand
Joined: Sep 10, 2009
Posts: 43
posted
0
D:\dukesbank\jbpm-bpel-1.1.1\examples\hello>ant test
Buildfile: build.xml
detect.wsdl:
get.published.wsdl:
BUILD FAILED
D:\dukesbank\jbpm-bpel-1.1.1\examples\common\mapping-build.xml:138: D:\dukesbank
\jbpm-bpel-1.1.1\examples\hello\dukesbank\jboss-4.2.3.GA\server\default\data\wsd
l\hello.war not found.
Total time: 0 seconds
D:\dukesbank\jbpm-bpel-1.1.1\examples\hello>ant
Buildfile: build.xml
Do you see that the error is now different, and that it is not the same problem? Details like that are important when debugging a problem.
Looks like the WAR file is not where it was expected. Why if the buildscript looking for the WAR at that particular location? I also wonder why the script is logging for a WAR file within a target named "get.published.wsdl"
If the above does not help, post the get.published.wsdl target and post the values of the pertinent properties. (If the script is not too long, 100 lines or less, just post the whole thing)
beata jane
Ranch Hand
Joined: Sep 10, 2009
Posts: 43
posted
0
This is the mapping-build.xml file sir...
This message was edited 1 time. Last update was at by Peter Johnson
Please use the code tag when posting xml. I know that the code tag does not let you embed other tags, such as your color tag, but having the whole source file easy to read is more important than highlighting a specific target.
I'll have to look at the build script later, I'm kind of pressed for time.
This message was edited 2 times. Last update was at by Peter Johnson
The copy task on lines 138 to 140 tries to copy the file identified by ${jboss.wsdl.dir}, which is set in line 40. However, I do not see ${jboss.wsdl.dir} used anywhere else in the build script.
What target are you passing to ant? The script does not have a "test" target.