ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Re: Ant-contrib workaround for CC task?
Date Mon, 02 Jun 2003 08:47:27 GMT
There is no trace indicating why it blocks. Even with the verbose 
option, Ant stops just after it prints the task name.
Here are my system details :

CC - Sun WorkShop C++ Compiler 5.0
located in /opt/SUNWspro/bin/CC

Apache Ant version 1.5.1 compiled on October 2 2002

java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

SunOS 5.8 Generic_108528-14 sun4u sparc SUNW,Sun-Blade-100

Any the contents of my task :

<target name="cxx_solaris_cc" depends="pre_cxx" if="solaris">
   <property name="architecture" value="solaris" />
   <mkdir dir="${linguisticserver.native.lib.dir}/${architecture}" />

       name = "CC"
       debug = "true"
       <define name="__unix"/>
       <define name="__sparc"/>
       <define name="__sun"/>
       <define name="__SVR4"/>
       <define name="__solaris" value="2008"/>
       <define name="NTMCONNECTION"/>
       <define name="MACHINE" value="sparc-solaris8-forte6u1"/>
    <fileset dir="${linguisticserver.cxx.source.dir}" includes="*.cxx"/>
       <pathelement location="${java.home}/../include"/>
       <pathelement location="${java.home}/../include/${architecture}"/>
       <pathelement location="${xip.include.dir}"/>
       <pathelement location="${linguisticserver.native.include.dir}"/>
    <libset dir="${xip.lib.dir}/${architecture}"

I'd appreciate any help on this.


Curt Arnold wrote:

>> Has anyone found a workaround for this?
> I haven't used the sun compiler adapter myself.  You might try to run 
> your build with a -verbose flag to see if it gives any hints.  Does it 
> fail on simple projects too?  Identifying your JVM, version of Ant, 
> version of CC and version of Solaris might be helpful.
>> I've tried asking on the ant-contrib forums on Sourceforge, but 
>> no-one seems to be alive there.
> Sorry, I thought that I had monitors on those forums to inform me of 
> any posts there.  All the activity is on the mailing list.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message