ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: Compiling error
Date Mon, 01 May 2006 15:54:30 GMT
whoa...that is weird

For me, ant is actually a shell script

can you do this:

file `which ant`

When I do this, I get something like:

ant:  Bourne shell script text executable

Which version of ant do you think you are running?



Sanae Benchaaboun wrote:
> Are you sure you want me to edit the ant?? It's not readble!! Look what I got:
>
> ^?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@^C^@^A^@^@^@°<86>^D^H4^@^@^@Ã*
> ^@^@^@^@^@^@4^@ ^@^G^@(^@^Y^@^X^@^F^@^@^@4^@^@^@4<80>^D^H4<80>^D^HÃ ^@^@^@Ã
^@^@^@^E^@^@^@^D^@^@^@^C^@^@^@^T^A^@^@^T<81>^D^H^T1>^D^H^S^@^@^@^S^@^@^@^D^@^@^@^A^@^@^@^A^@^@^@^@^@^@^@^@<80>^D^H^@<80>^D^Hd^H^@^@d^H^@^@^E^@^@^@^@^P^@^@^A^@^@^@d^H^@^@d<98>^D^Hd<98>^D^HÂ^A^@^@@^B^@^@^F^@^@^@^@^P^@^@^B^@^@^@x^H^@^@x<98>^D^Hx<98>^D^Hp^A^@^@p^A^@^@^F^@^@^@^D^@^@^@^D^@^@^@(^A^@^@(<81>^^H(<81>^D^H
^@^@^@ ^@^@^@^D^@^@^@^D^@^@^@QÃ¥td^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^G^@^@^@^D^@^@^@/lib/ld-linux.so.2^@^@^D@^@^@^P^@^@^@^A^@^@^@GNU^@^@^@^@^@^B^@^@^@^B^@^@^@^E^@^@^@^Q^@^@^@^Q^@^@^@^@^@^@^@

> ^@^@^@^K^@^@^@^O^@^@^@^A^@^@^@^@^@^@^@^D^@^@^@^G^@^@^@  ^@^@^@^B^@^@^@^C^@^@^@^E^@^@^@^@^@^@^@^M^@^@^@^N^@^@^@^P^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^F^@^@^@^@^@^@^@^@^@^@^@^L^@^@^@^H^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@#^@^@^@x<98>^D^H^@^@^@^@^Q^@ñÿ,^@^@^@X<86>^D^H^@^@^@^@^R^@
> ^@J^B^@^@<80><86>^D^HA^@^@^@^R^@^@^@T^B^@^@^X<9a>^D^H^D^@^@^@^Q^@^V^@Ã^B^@^@^X<9a>^D^H^@^@^@^@^P^@ñÿ2^@^@^@
<9a>^D^Hh^@^@^@^@^V^@Ã^B^@^@<90><86>^D^Hû^@^@^@^R^@^@^@n^B^@^@d<98>^D^H^@^@^@^@
^@^P^@X^@^@^@(<88>^D^H^@^@^@^@^R^@^M^@Ã^B^@^@^X<9a>^D^H^@^@^@@^P^@ñÿ^^@^@^@ü<99>^D^H^@^@^@^@^Q^@ñÿÃ|^B^@^@¤<9a>^D^H^@^@^@^@^P^@ñÿ²^B^@^@H<88>^D^H^D^@^@^@^Q^@^N^@l^B^@^@d<98>^D^H^@^P^@t^@^@^@Â
<86>^D^H6^@^@^@"^@^@^@<88>^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@lib-org-apache-tools-ant-1.5.2.so^@_DYNAMIC^@_init^@_ZNorg6apache5tools3ant4Main6class$E^@_fini^@_GLOBAL_OFFSET_TABLE_^@_Jv_RegisterClasses^@__gmon_start__^@lib-org-apache-tools-bzip2-1.5.2.so^@lib-org-apache-tools-mail-1.5.2.so^@lib-org-apache-tools-tar-1.5.2.so^@lib-org-apache-tools-zip-1.5.2.so^@lib-javax-xml-parsers-2.2.1.so^@lib-org-apache-commons-logging-1.0.2.so^@lib-org-apache-regexp-1.2.so^@lib-org-w3c-dom-2.2.1.so^@lib-org-xml-sax-2.2.1.so^@lib-org-apache-bcel-5.0.so^@lib-javax-xml-transform-2.4.1.so^@lib-javax-activation-20030319.so^@lib-javax-mail-20031006.so^@libgcc_s.so.1^@libgcj.so.4^@JvRunMain^@_Jv_Compiler_Properties^@__data_start^@libm.so.6^@libpthread.so.0^@libz.so.1^@libdl.so.2^@libc.so.6^@_IO_stdin_used^@__libc_start_main^@_edata^@__bss_start^@_end^@/lib/ssa^@GLIBC_2.0^@^@^@^A^@^A^@^@^@^@^@^A^@^@^@^B^@^A^@^A^@^A^@^A^@^A^@^A^@^A^@^@^@^@^@^A^@^A^@Â*^B^@^@^P^@^@^@^@^@^@^@^Pii^M^@^@^B^@Ã^B^@^@^@^@^@^@^T<9aD^H^F^P^@^@^X<9a>^D^H^E^D^@^@
<9a>^D^H^E^F^@^@^H<9a>^D^H^G^C^@^@^L<9a>^D^H^G^G^@^@^P<9a>^D^H^G^O^@^@U<89>Ã¥<83>Ã*^HÃ*q^@^@^@Ã*@^@Ã*<9f>^A^@^@ÃÃ^@ÿ5^@<9a>^D^Hÿ%^D<9a>^D^H^@^@^@^@ÿ%^H<9a>^D^Hh^@^@^@^@éÃ
ÿÿÿÿ%^L<9a>^D^Hh^H^@^@^@éÃÿÿÿÿ%^P<9a>^ÿÿ1Ã-^<89>á<83>äðPTRhÃ<87>^D^Hh<80><87>^D^HQVhX<87>^D^HÃ*¿ÿÿÿÃ<90><90>U<89>Ã¥SÃ*^@^@^@^@[<81>Ã^_^S^@^@P<8b><83>^X^@^8b>]üÃÃ<90><90>U<89>Ã¥<83>Ã*^H<80>=<88><9a>^D^H^@u!ë^M<8d>v^@<83>Ã^D£l<98>^D^Hÿál<98>^D^H<8b>^P<85>ÃuëÃ^E<88><9a>^D^H^A<89>Ã¥<83>Ã*^H¡Ã<99>^D^H<85>Ãt^YÂÂ
<86>^D^H<85>Ãt^P<83>Ã*^LhÃ<99>^D^HÃ*Oÿÿÿ<83>Ã
> ^E^X<9a>^D^Hp<98>^D^HÃ*^DÿÿÿÃÃ<90><90>U<89>Ã¥WVS<83>Ã*^LÃ*^@^@^@^@[<81>Ãn^R^@^@Ã*¾þÿÿ<8d><93>hþÿÿ<8d><8b>hþÿÿ)ÃÃÃÿ<94>³hþÿÿF9þrÃ<83>Ã
> ÿÿ<89>òN<85>ÃuòëåU<89>Ã¥S»Ã*<99>^D^HRë^EÿÃ<83>ë^D<8b>^C<83>ÃÿuÃX[ÃÃU<89>Ã¥SÃ*^@^@^@^@[<81>ÃÃ^Q^@^@RÃ*ºþÿÿ<8b>build.compiler=gcj^@^@^@^@^@^@^@^@^@^@^@^@^@^@Ã<99>^D^HL<88>^D^H^@^@^@^@^A^@^@^@^A^@^@^@^A^@^@^@<97>^@^@^@^A^@^@^@»^@^@^@^A^@^@Ã^@^@^@^A^@^@^@^@^A^@^@^A^@^@^@"^A^@^@^A^@^@^@A^A^@^@^A^@^@^@i^A^@^@^A^@^@^@<86>^A^@^@^A^@^@^@<9f>^A^@^@^A^@^@^@Â^A^@^@^A^^@^@Ã^A^@^@^A^@^@^@Ã^A^@^@^A^@^@^@^U^B^@^@^A^@^@^@0^B^@^@^A^@^@^@>^B^@^@^A^@^@^@y^B^@^@^A^@^@^@<83>^B^@^@^A^@^@^@<93>^B^@^@^A@^@^@<9d>^B^@^@^A^@^@^@Â*^B^@^@^O^@^@^@ë^B^@^@^L^@^@^@X<86>^D^H^M^@^@^@(<88>^D^H^D^@^@^@H<81>^D^H^E^@^@^@Ã*<82>^D^H^F^@^@^@Ã<^D^H
> @                                
>   
>>>> floess@mindspring.com 5/1/2006 11:40:37 AM >>>
>>>>         
> OK, lets get down and dirty :)
>
> Edit your ant shell script:
>
> vi `which ant`
>
> At the top, make the shell script line look as follows:
>
> #!/bin/bash -x
>
> If you would, after the aforementioned change, try to run your ant 
> against your build.xml - and send me the output.  I am very curious 
> about what the environment is doing.
>
> Also, can you send me the output of the following:
>
> echo $PATH
>
> I am sorry to be going round and round on this - not sure if you can 
> tell - but your problem has confused me :)
>
> Thanks,
>
> Scot
>
> Sanae Benchaaboun wrote:
>   
>> # echo $JAVA_HOME
>> /opt/SUNWappserver/jdk
>> # which java
>> /opt/SUNWappserver/jdk/bin/java
>>
>> It's the same for ant, it's using the default one not the 1.6, because
>> the ant script you sent me didn't run, I had to specify the project
>> default and a target name, here
>> # echo $ANT_HOME
>> /opt/jwsdp-2.0/apache-ant/bin/ant
>> # which ant
>> /usr/bin/ant
>>
>>
>> Sanae Benchaaboun
>> Webmaster Supervisor
>> Maryland Insurance Administration
>> Tel: (410)468-2077
>> sbenchaaboun@mdinsurance.state.md.us 
>>
>>   
>>     
>>>>> floess@mindspring.com 5/1/2006 11:27:41 AM >>>
>>>>>         
>>>>>           
>> Something else, run these and let me know the output:
>>
>> echo $JAVA_HOME
>>
>> which java
>>
>> Sanae Benchaaboun wrote:
>>   
>>     
>>> Hi Scott
>>> I ran this ant script in that same shell window, look what I got:
>>> Buildfile: build.xml
>>>
>>> init:
>>>      [java] gij (GNU libgcj) version 3.5-tree-ssa 20030617 (Red Hat
>>> Linux Rawhide 3.5ssa-48)
>>>
>>>      [java] Copyright (C) 2002 Free Software Foundation, Inc.
>>>      [java] This is free software; see the source for copying
>>> conditions.  There is NO
>>>      [java] warranty; not even for MERCHANTABILITY or FITNESS FOR A
>>> PARTICULAR PURPOSE.
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 0 seconds
>>>
>>> So it's referring to the gc not the Sun..
>>> What do you think??
>>> For the wscompile, I couldn't run the build in the two sampls that
>>>     
>>>       
>> come
>>   
>>     
>>> with the jaxrpc because it's saying that it couldn't fine the
>>>     
>>>       
>> Wscompile
>>   
>>     
>>> class. It's in the jar jaxrpc_impl.jar
>>>
>>> Sanae Benchaaboun
>>> Webmaster Supervisor
>>> Maryland Insurance Administration
>>> Tel: (410)468-2077
>>> sbenchaaboun@mdinsurance.state.md.us 
>>>
>>>   
>>>     
>>>       
>>>>>> floess@mindspring.com 4/30/2006 12:10:09 PM >>>
>>>>>>         
>>>>>>           
>>>>>>             
>>> Sanae:
>>>
>>> OK, I -finally- got everything downloaded.  I have no trouble
>>>     
>>>       
>> executing
>>   
>>     
>>> wscompile in the samples dir contained in JAXRPC_SI_20060427.class
>>> (well 
>>> that's the install app).  I am assuming you have downloaded the 
>>> aforementioned class file and installed jaxrpc...  As such, can you
>>>     
>>>       
>> run
>>   
>>     
>>> ant against any of the samples' build.xml's?
>>>
>>> I currently am having no issues with wscompile whatsoever (not
>>>     
>>>       
>> entirely
>>   
>>     
>>> true as it can't locate some wsdl's, but wscompile is able to run) -
>>>     
>>>       
>>   
>>     
>>> both using Sun's and IBM's JDK...
>>>
>>> Sanae Benchaaboun wrote:
>>>   
>>>     
>>>       
>>>> I got this now!!
>>>> I added the export JAVA_HOME and Path, also sat the fork to false..
>>>> Still not working
>>>>
>>>>
>>>> Sanae Benchaaboun
>>>> Webmaster Supervisor
>>>> Maryland Insurance Administration
>>>> Tel: (410)468-2077
>>>> sbenchaaboun@mdinsurance.state.md.us 
>>>>
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> floess@mindspring.com 4/28/2006 3:20 PM >>>
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>> I looked over the documentation a little more (for wscompile) - and
>>>>       
>>>>         
>>   
>>     
>>>> looked at your build.xml.  I do see where you have set forking =
>>>>     
>>>>       
>>>>         
>>> "true"
>>>   
>>>     
>>>       
>>>>  
>>>> Maybe see what results you get when forking is set to false.  In
>>>> looking 
>>>> at the stack trace - I see this:
>>>>
>>>> at java.lang.ClassLoader.resolveClass0(java.lang.Class) 
>>>> *(/lib/ssa/libgcj.so.4.0.0)*
>>>>
>>>> As the VM is being forked...it would -appear- the forked VM is
>>>>     
>>>>       
>>>>         
>>> gcc-java
>>>   
>>>     
>>>       
>>>> for some reason...
>>>>
>>>> Try to adjust your .bashrc and/or try setting forking="false"
>>>>
>>>> Scot P. Floess wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Check this link out:  
>>>>> https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html#2.1 
>>>>>
>>>>> And I quote:  "The |wscompile| tool generates various client-side
>>>>>       
>>>>>         
>>>>>           
>>> and
>>>   
>>>     
>>>       
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> server-side artifacts required by the JAX-RPC runtime to develop, 
>>>>> deploy, and invoke a Web Service. It is available as a shell
>>>>>         
>>>>>           
>> script
>>   
>>     
>>>>>       
>>>>>         
>>>>>           
>>>   
>>>     
>>>       
>>>>> and a batch file in |JWSDP_HOME/jaxrpc/bin|, where |JWSDP_HOME|
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> refers 
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> to the directory in which the Java WSDP is installed. Although the
>>>>>         
>>>>>           
>>   
>>     
>>>>> shell script is used below for illustration purposes, the two
>>>>>       
>>>>>         
>>>>>           
>>> scripts
>>>   
>>>     
>>>       
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> provide identical functionality."
>>>>>
>>>>> There ya go, its a shell script.  I can't be for sure without
>>>>>       
>>>>>         
>>>>>           
>>> further
>>>   
>>>     
>>>       
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> investigation...but if it is a shell script then when the task 
>>>>> executes, it will spawn a shell to execute the script.  When it
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> spawns 
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> the shell, you get a -new- environment.  The new environment
>>>>>       
>>>>>         
>>>>>           
>>> probably
>>>   
>>>     
>>>       
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> does not have the JAVA_HOME or your Sun JDK in the path - and thus
>>>>>       
>>>>>         
>>>>>           
>>> is
>>>   
>>>     
>>>       
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> using the stock gcc java...
>>>>>
>>>>> Scot P. Floess wrote:
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>>>> What I am trying to say is this...  My ~/.bashrc resembles the 
>>>>>> following:
>>>>>>
>>>>>> # .bashrc
>>>>>>
>>>>>> # User specific aliases and functions
>>>>>>
>>>>>> # Source global definitions
>>>>>> if [ -f /etc/bashrc ]; then
>>>>>>        . /etc/bashrc
>>>>>> fi
>>>>>>
>>>>>> ----
>>>>>>
>>>>>> This is of course a stock ~/.bashrc file...
>>>>>>
>>>>>> I am saying, make the ~/.bashrc look something like this (I am 
>>>>>> guessing here on the java installation dir - so take witha grain
>>>>>>         
>>>>>>           
>>>>>>             
>>> of
>>>   
>>>     
>>>       
>>>>>>       
>>>>>>         
>>>>>>           
>>>>>>             
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>> salt):
>>>>>>
>>>>>> # .bashrc
>>>>>>
>>>>>> # User specific aliases and functions
>>>>>>
>>>>>> # Source global definitions
>>>>>> if [ -f /etc/bashrc ]; then
>>>>>>        . /etc/bashrc
>>>>>> fi
>>>>>>
>>>>>> export JAVA_HOME=/opt/SUNWappserver/jdk
>>>>>> export PATH=${JAVA_HOME}/bin:${PATH}
>>>>>>
>>>>>>
>>>>>> I am guessing that wscompile task is actually shelling out to the
>>>>>>         
>>>>>>           
>>>>>>             
>>> OS
>>>   
>>>     
>>>       
>>>>>>       
>>>>>>         
>>>>>>           
>>>>>>             
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>> to execute.  If that happens, the new shell will execute your 
>>>>>> ~/.bashrc.  If the above are not set, based upon your install
>>>>>>           
>>>>>>             
>> JDK,
>>   
>>     
>>>>>>         
>>>>>>           
>>>>>>             
>>>   
>>>     
>>>       
>>>>>> its not being found in the PATH and you are getting the gcc java

>>>>>> version...  I will have to examine your build.xml either tonight
>>>>>>         
>>>>>>           
>>>>>>             
>>> or
>>>   
>>>     
>>>       
>>>>>>       
>>>>>>         
>>>>>>           
>>>>>>             
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>> tomorrow morning...gotta go home soon and mow the lawn...
>>>>>>
>>>>>> Sanae Benchaaboun wrote:
>>>>>>       
>>>>>>         
>>>>>>           
>>>>>>             
>>>>>>> What did you mean by putting all the export in a bashrc? Here
is
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>> the 
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> build.xml
>>>>>>>
>>>>>>> Sanae Benchaaboun
>>>>>>> Webmaster Supervisor
>>>>>>> Maryland Insurance Administration
>>>>>>> Tel: (410)468-2077
>>>>>>> sbenchaaboun@mdinsurance.state.md.us 
>>>>>>>   
>>>>>>>
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>> ------------------------------------------------------------------------
>>   
>>     
>>>   
>>>     
>>>       
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> <?xml version="1.0" encoding="iso-8859-1"?>
>>>>>>>
>>>>>>> <project name="StateApi_Client" default="dist" basedir=".">
>>>>>>>     <property name="src" location="src" />
>>>>>>>     <property name="src-gen" location="src-gen" />
>>>>>>>     <property name="build" location="build" />
>>>>>>>     <property name="dist" location="dist" />
>>>>>>>     <property name="lib" location="lib" />
>>>>>>>     <property name="javadoc.output" location="doc/html" />
>>>>>>>
>>>>>>>     <path id="project.classpath">
>>>>>>>         <fileset dir="${java.home}/../lib">
>>>>>>>             <include name="tools.jar"/>
>>>>>>>         </fileset>
>>>>>>>         <fileset dir="${java.home}/lib">
>>>>>>>             <include name="tools.jar"/>
>>>>>>>         </fileset>
>>>>>>>         <fileset dir="lib">
>>>>>>>             <filename name="security-plugin.jar"/>
>>>>>>>             <filename name="xws-security_jaxrpc.jar"/>
>>>>>>>             <filename name="xws-security.jar"/>
>>>>>>>         </fileset>
>>>>>>>         <fileset dir="lib" includes="*.jar"/>
>>>>>>>     </path>
>>>>>>>         <path id="xjc-classpath">
>>>>>>>         <fileset dir="lib" includes="*.jar"/>
>>>>>>>     </path>
>>>>>>>
>>>>>>>     <taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
>>>>>>>       <classpath refid="xjc-classpath" />
>>>>>>>     </taskdef>
>>>>>>>
>>>>>>>     <!-- Add wscompile and wsdeploy tasks -->
>>>>>>>     <path id="wscompile.classpath">
>>>>>>>         <fileset dir="${java.home}/../lib">
>>>>>>>             <include name="tools.jar"/>
>>>>>>>         </fileset>
>>>>>>>         <fileset dir="${java.home}/lib">
>>>>>>>             <include name="tools.jar"/>
>>>>>>>         </fileset>
>>>>>>>         <fileset dir="lib" includes="*.jar"/>
>>>>>>>     </path>
>>>>>>>     <taskdef name="wscompile" 
>>>>>>> classname="com.sun.xml.rpc.tools.ant.Wscompile">
>>>>>>>         <classpath refid="wscompile.classpath" />
>>>>>>>     </taskdef>
>>>>>>>       <!-- define the targets -->      <target name="init"

>>>>>>> description="create the build directory structure"
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>> depends="clean">
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>>         <mkdir dir="${build}" />
>>>>>>>         <mkdir dir="${build}/jar" />
>>>>>>>         <mkdir dir="${src-gen}" />
>>>>>>>         <mkdir dir="${dist}" />
>>>>>>>         <mkdir dir="${dist}/lib" />
>>>>>>>    </target>
>>>>>>>       <target name="generate_classes" description="generate
the
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>> wsdl 
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> stubs" depends="init">
>>>>>>>         <echo file="${src-gen}/wsconfig.xml"><![CDATA[<?xml

>>>>>>> version="1.0" encoding="UTF-8"?>
>>>>>>> <configuration
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>> xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> <wsdl location="${src}/StateApiService.wsdl" 
>>>>>>> packageName="org.naic.serff.stateapi.service" />
>>>>>>> </configuration>]]></echo>
>>>>>>>         <wscompile             fork="true"
>>>>>>>             keep="true"             client="true"           
 
>>>>>>> debug="true"             features="documentliteral,wsi"     
    
>>>>>>>             
>>>>>>>               
>>   
>>     
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>   
>>>     
>>>       
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> base="${build}/jar"             sourceBase="${src-gen}"     
    
>>>>>>>             
>>>>>>>               
>>   
>>     
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>   
>>>     
>>>       
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> xPrintStackTrace="true"             
>>>>>>> model="${build}/jar/StateApiService_model.xml.gz"           
 
>>>>>>> verbose="false"             config="${src-gen}/wsconfig.xml">
>>>>>>>             <classpath>
>>>>>>>                 <path refid="project.classpath" />
>>>>>>>             </classpath>
>>>>>>>         </wscompile>
>>>>>>>         <!--<xjc schema="${src}/ClientTypes.xsd" 
>>>>>>> package="org.naic.serff.stateapi.jaxb" target="${src-gen}"/>-->
>>>>>>>    </target>
>>>>>>>       <target name="compile" description="compile the project"

>>>>>>> depends="generate_classes">
>>>>>>>       <javac debug="true" srcdir="${src-gen}"
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>> destdir="${build}/jar" 
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> excludes="org/naic/serff/stateapi/service/**/*"
>>>>>>>             classpathref="project.classpath">
>>>>>>>          <classpath location="${build}/jar"/>
>>>>>>>       </javac>
>>>>>>>       <javac debug="true" srcdir="${src}" destdir="${build}/jar"
>>>>>>>             
>>>>>>>               
>>   
>>     
>>>>>>>             classpathref="project.classpath">
>>>>>>>          <classpath location="${build}/jar"/>
>>>>>>>       </javac>
>>>>>>>    </target>
>>>>>>>        <target name="dist" description="build the project"

>>>>>>> depends="compile">
>>>>>>>         <copy file="user.properties" todir="${dist}"/>
>>>>>>>         <copy todir="${build}/jar">
>>>>>>>             <fileset dir="${lib}">
>>>>>>>                 <include name="*.jar"/>
>>>>>>>                 <exclude name="junit.jar"/>
>>>>>>>                 <exclude name="mail.jar"/>
>>>>>>>                </fileset>
>>>>>>>         </copy>
>>>>>>>         <copy todir="${dist}/lib">
>>>>>>>           <fileset dir="${lib}">
>>>>>>>                <include name="*.jar"/>
>>>>>>>           </fileset>
>>>>>>>         </copy>
>>>>>>>         <jar compress="true" basedir="${build}/jar" 
>>>>>>> jarfile="${dist}/TestClient.jar"/>
>>>>>>>     </target>
>>>>>>>       <target name="doc" description="create the documentation
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>> for
>>>   
>>>     
>>>       
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> the project" >
>>>>>>>       <mkdir dir="${javadoc.output}"/>
>>>>>>>       <javadoc destdir="${javadoc.output}" 
>>>>>>> classpathref="project.classpath" packagenames="org.naic.model">
>>>>>>>          <fileset dir="${src}">
>>>>>>>             <include name="**/*.java"/>
>>>>>>>          </fileset>
>>>>>>>       </javadoc>
>>>>>>>    </target>
>>>>>>>        <target name="clean" description="clean up" >
>>>>>>>              <delete dir="${build}"/>
>>>>>>>         <delete dir="${javadoc.output}"/>
>>>>>>>           <delete dir="${src-gen}"/>
>>>>>>>            <delete dir="${dist}"/>          </target>
>>>>>>> </project>
>>>>>>>
>>>>>>>
>>>>>>>   
>>>>>>>
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>> ------------------------------------------------------------------------
>>   
>>     
>>>   
>>>     
>>>       
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>> ---------------------------------------------------------------------
>>   
>>     
>>>   
>>>     
>>>       
>>>>   
>>>>     
>>>>       
>>>>         
>>>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org 
>>>>>>> For additional commands, e-mail: user-help@ant.apache.org 
>>>>>>>         
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>>   
>>>>
>>>>     
>>>>       
>>>>         
>> ------------------------------------------------------------------------
>>   
>>     
>>>   
>>>     
>>>       
>>>> ant
>>>> Buildfile: build.xml
>>>>
>>>> clean:
>>>>    [delete] Deleting directory /Data/Dev/StateApi_Ref/build
>>>>    [delete] Deleting directory /Data/Dev/StateApi_Ref/src-gen
>>>>    [delete] Deleting directory /Data/Dev/StateApi_Ref/dist
>>>>
>>>> init:
>>>>     [mkdir] Created dir: /Data/Dev/StateApi_Ref/build
>>>>     [mkdir] Created dir: /Data/Dev/StateApi_Ref/build/jar
>>>>     [mkdir] Created dir: /Data/Dev/StateApi_Ref/src-gen
>>>>     [mkdir] Created dir: /Data/Dev/StateApi_Ref/dist
>>>>     [mkdir] Created dir: /Data/Dev/StateApi_Ref/dist/lib
>>>>
>>>> generate_classes:
>>>>
>>>> BUILD FAILED
>>>> java.lang.NoClassDefFoundError: while resolving class:
>>>>     
>>>>       
>>>>         
>>> com.sun.xml.rpc.tools.plugin.ToolPluginFactory
>>>   
>>>     
>>>       
>>>>    at java.lang.ClassLoader.resolveClass0(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at java.lang.Class.initializeClass() (/lib/ssa/libgcj.so.4.0.0)
>>>>    at _Jv_ResolvePoolEntry(java.lang.Class, int)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at
>>>>     
>>>>       
>>>>         
>> com.sun.xml.rpc.tools.wscompile.CompileTool.parseArguments(java.lang.String[])
>>   
>>     
>>> (Unknown Source)
>>>   
>>>     
>>>       
>>>>    at com.sun.xml.rpc.util.ToolBase.run(java.lang.String[])
>>>>       
>>>>         
>> (Unknown
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> Source)
>>>   
>>>     
>>>       
>>>>    at com.sun.xml.rpc.tools.ant.Wscompile.execute() (Unknown
>>>>       
>>>>         
>> Source)
>>   
>>     
>>>>    at org.apache.tools.ant.Task.perform()
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Target.execute()
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Target.performTasks()
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Project.executeTargets(java.util.Vector)
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader)
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Main.start(java.lang.String[],
>>>>     
>>>>       
>>>>         
>>> java.util.Properties, java.lang.ClassLoader)
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Main.main(java.lang.String[])
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>> Caused by: java.lang.ClassNotFoundException:
>>>>       
>>>>         
>> java.util.logging.Level
>>   
>>     
>>>>    at
>>>>     
>>>>       
>>>>         
>> org.apache.tools.ant.AntClassLoader.findClassInComponents(java.lang.String)
>>   
>>     
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at
>>>>       
>>>>         
>> org.apache.tools.ant.AntClassLoader.findClass(java.lang.String)
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at
>>>>       
>>>>         
>> org.apache.tools.ant.AntClassLoader.loadClass(java.lang.String,
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> boolean) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at _Jv_PrepareCompiledClass(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at _Jv_WaitForState(java.lang.Class, int)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at java.lang.ClassLoader.linkClass0(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at java.lang.ClassLoader.resolveClass0(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    ...13 more
>>>>
>>>> Total time: 1 second
>>>> java.lang.NoClassDefFoundError: while resolving class:
>>>>     
>>>>       
>>>>         
>>> com.sun.xml.rpc.tools.plugin.ToolPluginFactory
>>>   
>>>     
>>>       
>>>>    at java.lang.ClassLoader.resolveClass0(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at java.lang.Class.initializeClass() (/lib/ssa/libgcj.so.4.0.0)
>>>>    at _Jv_ResolvePoolEntry(java.lang.Class, int)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at
>>>>     
>>>>       
>>>>         
>> com.sun.xml.rpc.tools.wscompile.CompileTool.parseArguments(java.lang.String[])
>>   
>>     
>>> (Unknown Source)
>>>   
>>>     
>>>       
>>>>    at com.sun.xml.rpc.util.ToolBase.run(java.lang.String[])
>>>>       
>>>>         
>> (Unknown
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> Source)
>>>   
>>>     
>>>       
>>>>    at com.sun.xml.rpc.tools.ant.Wscompile.execute() (Unknown
>>>>       
>>>>         
>> Source)
>>   
>>     
>>>>    at org.apache.tools.ant.Task.perform()
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Target.execute()
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Target.performTasks()
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Project.executeTarget(java.lang.String)
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Project.executeTargets(java.util.Vector)
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Main.runBuild(java.lang.ClassLoader)
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Main.start(java.lang.String[],
>>>>     
>>>>       
>>>>         
>>> java.util.Properties, java.lang.ClassLoader)
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at org.apache.tools.ant.Main.main(java.lang.String[])
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>> Caused by: java.lang.ClassNotFoundException:
>>>>       
>>>>         
>> java.util.logging.Level
>>   
>>     
>>>>    at
>>>>     
>>>>       
>>>>         
>> org.apache.tools.ant.AntClassLoader.findClassInComponents(java.lang.String)
>>   
>>     
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at
>>>>       
>>>>         
>> org.apache.tools.ant.AntClassLoader.findClass(java.lang.String)
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at
>>>>       
>>>>         
>> org.apache.tools.ant.AntClassLoader.loadClass(java.lang.String,
>>   
>>     
>>>>     
>>>>       
>>>>         
>>> boolean) (/usr/lib/lib-org-apache-tools-ant-1.5.2.so)
>>>   
>>>     
>>>       
>>>>    at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at _Jv_PrepareCompiledClass(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at _Jv_WaitForState(java.lang.Class, int)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at java.lang.ClassLoader.linkClass0(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    at java.lang.ClassLoader.resolveClass0(java.lang.Class)
>>>>     
>>>>       
>>>>         
>>> (/lib/ssa/libgcj.so.4.0.0)
>>>   
>>>     
>>>       
>>>>    ...13 more
>>>> while resolving class:
>>>>     
>>>>       
>>>>         
>>> com.sun.xml.rpc.tools.plugin.ToolPluginFactory
>>>   
>>>     
>>>       
>>>>   
>>>>
>>>>     
>>>>       
>>>>         
>> ------------------------------------------------------------------------
>>   
>>     
>>>   
>>>     
>>>       
>>>>     
>>>>       
>>>>         
>> ---------------------------------------------------------------------
>>   
>>     
>>>   
>>>     
>>>       
>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org 
>>>> For additional commands, e-mail: user-help@ant.apache.org 
>>>>     
>>>>       
>>>>         
>>>   
>>>     
>>>       
>>   
>>     
>
>   

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message