users@jax-rpc.java.net

Re: wsdeploy not generating a cooked war?

From: Ryan Cuprak <rcuprak_at_mac.com>
Date: Tue, 19 Jul 2005 12:04:03 -0700

 
 Nope, not being created at all- has me a little puzzled. Even ran a file search wondering if it was placed in an unexpected place.

 -Ryan

On Tuesday, July 19, 2005, at 11:18AM, Doug Kohlert <Doug.Kohlert_at_Sun.COM> wrote:

>So the ExploreTapestry.war file is not created at all?
>
>Ryan Cuprak wrote:
>
>> Hello,
>> I've downloaded jwsdp 1.6 and am trying to get a simple HelloWorld
>> example up and running. I think I have everything configured correctly
>> but wsdeploy doesn't output a cooked war or any helpful diagnostic
>> information. Any suggestions?
>> I am trying to get my service working inside of tomcat - already
>> added the jars to the tomcat directories based on previous postings to
>> this list.
>>
>> Thanks!
>> Ryan
>>
>> Ant file snippet:
>> <target name="jws-gen" depends="build">
>> <wscompile
>> keep="true"
>> define="true"
>> base="ExploreTapestry/WEB-INF"
>> xPrintStackTrace="true"
>> verbose="true"
>> classpath="${bin}"
>> config="${config.rpcenc.file}">
>> <classpath>
>> <path refid="compile.classpath"/>
>> </classpath>
>> </wscompile>
>> </target>
>>
>> <target name="package" depends="jws-gen">
>> <copy todir="${bin}">
>> <fileset dir="src">
>> <include name="**/**.hbm.xml"/>
>> </fileset>
>> </copy>
>> <jar basedir="ExploreTapestry"
>> destfile="ExploreTapestryPrep.war" />
>> <wsdeploy
>> classpath="ExploreTapestry/WEB-INF"
>> outWarFile="ExploreTapestry.war"
>> keep="true"
>> verbose="true"
>> version="true"
>> inWarFile="ExploreTapestryPrep.war">
>> <classpath>
>> <path refid="compile.classpath"/>
>> </classpath>
>> </wsdeploy>
>> </target>
>>
>> Ant output:
>> Buildfile: /Users/rcuprak/Documents/workspace/ExploreTapestry/build.xml
>> clean:
>> [delete] Deleting directory
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestry/WEB-INF/classes
>> [mkdir] Created dir:
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestry/WEB-INF/classes
>> build:
>> [javac] Compiling 13 source files to
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestry/WEB-INF/classes
>> jws-gen:
>> [wscompile] command line: wscompile -d
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestry/WEB-INF
>> -define -keep -verbose -Xprintstacktrace
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/config.xml
>> -classpath ..
>> [wscompile] [creating model: HelloService]
>> [wscompile] [creating service: HelloService]
>> [wscompile] [creating port: net.cuprak.explore.HelloIF]
>> [wscompile] [creating operation: sayHello]
>> package:
>> [copy] Copying 1 file to
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestry/WEB-INF/classes
>> [jar] Building jar:
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestryPrep.war
>> [wsdeploy] command line: -keep -source 1.1 -o
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestry.war
>> -verbose -version
>> /Users/rcuprak/Documents/workspace/ExploreTapestry/ExploreTapestryPrep.war
>> -classpath ..
>> [wsdeploy] JAX-RPC Standard Implementation (1.1.3, build R1)
>> BUILD SUCCESSFUL
>> Total time: 13 seconds
>
>
>--
> - Doug
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>