Hello

HP-UX11i
Java 1.3
ANT v.1.7.0

My build file (Unix_Build.xml):

        <?xml version="1.0" encoding="utf-8"?>

        <project name="Unix SM Build" default="init" 
basedir="/var/tmp/smtemp">

        <property environment="myenv" />

        <taskdef resource="PCT.properties" 
classpath="${myenv.PCT_HOME}/lib/PCT.jar"/>
 
        <target name="init" description="Wait for new release to arrive">
 
        <!-- Wait up to 1 hour for a tar file to arrive, set "filefound" 
property if it does -->
        <waitfor maxwait="1" maxwaitunit="hour" 
timeoutproperty="filefound">
                <available file="transfer/rdt.tar"/>
        </waitfor> 
 
        <antcall target="compile"/>
 
        </target>
 
        <target name="extract" description="Extract XCoded source from tar 
file"> 
 
                <!-- Extract encrypted source code -->
                <untar src="transfer/rdt.tar" dest="transfer"/>
 
                <!-- Delete tar file now we've extracted it -->
                <delete file="transfer/rdt.tar"/>
 
        </target>
 
        <target name="compile" description="Compile encrypted source code" 
depends="extract" if="filefound"> 
 
                <!-- Compile -->
                <PCTCompile paramfile="${myenv.PCT_HOME}/build.pf" 
                            destDir="release" 
                            dlcHome="${myenv.DLC}" 
                            xcode="true" 
                            failonerror="true">

                        <PCTConnection dbname="smpretest" 
                               logicalname="spacemst" 
                               dbport="smpretest" 
                               protocol="TCP" 
                               hostname="jupiter"/>

                        <fileset dir="transfer">
                                <include name="*.p"/>
                        <include name="srd*.w"/>
                        <include name="tty*.w"/>
                                <include name="triggers/*.p"/>
                        </fileset>

                        <propath>
                                <pathelement path="transfer"/>
                        </propath>
 
                </PCTCompile> 
 
                <!-- Delete source code -->
                <delete>
                        <fileset dir="transfer">
                            <include name="*.p"/>
                            <include name="srd*.w"/>
                            <include name="tty*.w"/>
                            <include name="triggers/*.p"/>
                        </fileset>
                </delete>
 
        </target>
 
        </project>


When running the build file (ant -f Unix_Build.xml) I receive a number of 
java error messages, a screen dump follows. Although this doesn't stop the 
build file from running to completion I cannot work out what the errors 
mean and that frustrates me. 

Any ideas? I'm not a java developer so please don't get too technical!

TIA
Mike

$ ant -f Unix_Build.xml
Buildfile: Unix_Build.xml
 [property] java.lang.reflect.InvocationTargetException: 
java.lang.IllegalArgume
ntException: Unknown signal: HUP
 [property]     at sun.misc.Signal.<init>(Unknown Source)
 [property]     at java.lang.Terminator.setup(Unknown Source)
 [property]     at java.lang.Shutdown.add(Unknown Source)
 [property]     at java.lang.Runtime.addShutdownHook(Unknown Source)
 [property]     at java.lang.reflect.Method.invoke(Native Method)
 [property]     at 
org.apache.tools.ant.taskdefs.ProcessDestroyer.addShutdownHoo
k(ProcessDestroyer.java:100)
 [property]     at 
org.apache.tools.ant.taskdefs.ProcessDestroyer.add(ProcessDes
troyer.java:184)
 [property]     at 
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:47
5)
 [property]     at 
org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Exec
ute.java:165)
 [property]     at 
org.apache.tools.ant.taskdefs.Property.loadEnvironment(Proper
ty.java:526)
 [property]     at 
org.apache.tools.ant.taskdefs.Property.execute(Property.java:
403)
 [property]     at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
 [property]     at java.lang.reflect.Method.invoke(Native Method)
 [property]     at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:105)
 [property]     at org.apache.tools.ant.Task.perform(Task.java:348)
 [property]     at org.apache.tools.ant.Target.execute(Target.java:357)
 [property]     at 
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelpe
r2.java:140)
 [property]     at 
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHe
lper.java:96)
 [property]     at org.apache.tools.ant.Main.runBuild(Main.java:683)
 [property]     at org.apache.tools.ant.Main.startAnt(Main.java:199)
 [property]     at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
 [property]     at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

init: 

***************************************************************
Wincanton plc is a leading European provider of supply chain solutions.  We 
design, implement and operate creative solutions for customers in 15 countries. 
 Our business has a turnover of over EUR2.4bn /1.68bn pounds and employs 27,000 
staff across 360 locations.  Warehousing, transport and specialist services are 
provided for customers in a range of sectors including automotive, retail, 
FMCG, petrochemicals and manufacturing.  Further information on our unique 
achievements and competencies can be found by visiting 

www.wincanton.co.uk

****************************************************************
This e-mail and any files transmitted with it are confidential 
and intended solely for the use of the individual(s) to whom it 
is addressed.  If you have received this e-mail in error please 
contact IT Service Desk on +44 (0) 870 870 9393 or e-mail
[EMAIL PROTECTED]

Any views or opinions expressed are solely those of the author 
and do not necessarily represent those of Wincanton plc
or any of its subsidiary companies.  Unauthorised publication, 
use, dissemination, forwarding, printing or copying of this 
e-mail and its associated attachment(s) is strictly prohibited.
Wincanton plc, Methuen Park, Chippenham, Wiltshire SN14 0WT.
****************************************************************

Reply via email to