ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "webhiker@tiscali.fr" <webhi...@tiscali.fr>
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}" />

   <cc
       name = "CC"
       debug = "true"
       objdir="${linguisticserver.native.obj.dir}"
       warnings="none"
       link="shared"
       outtype="shared"
       runtime="dynamic"
       multithreaded="true"
       
outfile="${linguisticserver.native.lib.dir}/${architecture}/${myxip.lib.name}.so">
    <defineset>
       <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"/>
    </defineset>
    <fileset dir="${linguisticserver.cxx.source.dir}" includes="*.cxx"/>
    <includepath>
       <pathelement location="${java.home}/../include"/>
       <pathelement location="${java.home}/../include/${architecture}"/>
       <pathelement location="${xip.include.dir}"/>
       <pathelement location="${linguisticserver.native.include.dir}"/>
    </includepath>
    <libset dir="${xip.lib.dir}/${architecture}"
            libs="nhXip,stdc++">
    </libset>
   </cc>
</target>

I'd appreciate any help on this.

Thanks
WH


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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



Mime
View raw message