ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "healey, alex" <alex.hea...@midas-kapiti.com>
Subject RE: [Bug 2735] New: - a core task for idlj please
Date Mon, 23 Jul 2001 09:12:05 GMT
You can always use a "fake file" to record the rebuild time of your idl
which will then allow
you to compile conditionally. Using uptodate you can then get everything
working. Take a look at the buildfile fragments below:

	<target name="checkGenCodeIDL13" depends="init">
        <uptodate property="idlj.disabled"
targetfile="${dir.idl.output13}/timecheck.dummy" >
            <srcfiles dir= "${dir.idl}" includes="**/*.idl"/>
        </uptodate>
    </target>

	<target name="genCodeIDL13" depends="init, checkGenCodeIDL13"
unless="idlj.disabled">
        <mkdir dir="${dir.idl.output13}"/>
        <execon executable="${idlj.executable}">
            <arg line="-fall " />
            <arg line="-td ${dir.idl.output13} " />
            <fileset dir="${dir.idl}">
                <include name="**/*.idl" />
            </fileset>
        </execon>
        <touch file="${dir.idl.output13}/timecheck.dummy" />
    </target>

-----Original Message-----
From: bugzilla@apache.org [mailto:bugzilla@apache.org]
Sent: 23 July 2001 10:01
To: ant-dev@jakarta.apache.org
Subject: [Bug 2735] New: - a core task for idlj please


http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2735

*** shadow/2735	Mon Jul 23 02:00:59 2001
--- shadow/2735.tmp.541	Mon Jul 23 02:00:59 2001
***************
*** 0 ****
--- 1,37 ----
+
+=======================================================================
=====+
+ | a core task for idlj please
|
+
+-----------------------------------------------------------------------
-----+
+ |        Bug #: 2735                        Product: Ant
|
+ |       Status: NEW                         Version: 1.3
|
+ |   Resolution:                            Platform: All
|
+ |     Severity: Enhancement              OS/Version: All
|
+ |     Priority: Other                     Component: Core tasks
|
+
+-----------------------------------------------------------------------
-----+
+ |  Assigned To: ant-dev@jakarta.apache.org
|
+ |  Reported By: tgdwyer@yahoo.com
|
+ |      CC list: Cc:
|
+
+-----------------------------------------------------------------------
-----+
+ |          URL:
|
+
+=======================================================================
=====+
+ |                              DESCRIPTION
|
+ Surely I'm not the only one who uses idlj... and it is part of the
standard 
+ j2se... can we please have a built in task for it?
+ 
+ currently I do it like this:
+ 
+   <target name="idl" description="Generating CORBA
stubs/skeletons...">
+     <exec dir="${src}" executable="${JAVA_HOME}/bin/idlj">
+       <arg value="-fall"/>
+       <arg value="-verbose"/>
+       <arg file="${src}/WilmaChat.idl"/>
+     </exec>
+   </target>
+ 
+ which is far from adequate as there is no dependency check on my idl
file.
+ 
+ Maybe there's a really easy way to make this work... but I haven't
figured it 
+ out yet.
+ 
+ Thanks Heaps
+ 
+ Tim Dwyer

Mime
View raw message