ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: condition for exec task
Date Wed, 27 Nov 2002 08:30:22 GMT
On Tue, 26 Nov 2002, Oliver Wulff <oliver.wulff@zurich.ch> wrote:

>>Are the names of the .class files predictable - at least so that you
>>know one of them per IDL file?

> Unfortunately not. The content of the IDL (interface name, ...) maps
> to the Java classes.

and I guess it is impossible to enforce a naming scheme on the IDL
files so that you could at least predict one class ...

One solution would be to write a custom mapper that reads the IDL file
and returns at least one name of a generated .java file.  The
FilenameMapper interface isn't that complex and you could use it with
<mapper>'s classname attribute.

Stefan

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


Mime
View raw message