ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <Jesse.Gl...@netbeans.com>
Subject [PATCH] <javah outputfile="..."/> not resolved by basedir
Date Thu, 08 Mar 2001 20:28:50 GMT
Pretty simple, using File as the setter type so that it will be resolved
relative to project basedir.

By the way, I noticed that since <javah> uses in-VM-loading on
com.sun.tools.javah.Main, while this is usually OK (since main() is not
called), if there is an error signaled by the javah tool, the Ant VM exits!
That is, the System.exit(0) is bypassed, but not the System.exit(15) from
Util.error. Maybe forking would be better.

-Jesse

-- 
Jesse Glick   <mailto:Jesse.Glick@netbeans.com>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR
Mime
View raw message