ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <Jesse.Gl...@netbeans.com>
Subject Re: Problems with the current bootstrap process
Date Mon, 29 Jan 2001 17:13:27 GMT
Stefan Bodewig wrote:
> [snip]
> I've tried to ensure a Constants.class has been built before, I've
> specified the order in which the source directories should be searched
> via <src path=...> - I've run out of ideas.
> [snip]

Maybe I missed something, but what is wrong with:

--------%<------- ..../tools/ant/versioning.properties
version=1.3alpha
....
--------%<------- ..../tools/ant/Main.java
// ...
Properties p = new Properties();
p.load(getClass().getResourceAsStream("versioning.properties"));
String version = p.getProperty("version");
// ...
--------%<-------

?

-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