On Wed, 2 Apr 2003 01:05 am, Dominique Devienne wrote:
> How so Conor? I must have missed it on ant-dev. Could you please explain
> how this will be solved in Ant 1.6 please? Or point me to the appropriate
> thread somewhere? Thanks, --DD
>

OK, the problem I will try to fix is that the classpath construction in Ant 
currently can lead to enormous command lines. This occurs when ANT_HOME is 
deeply nested in the directory tree and is exacerbated in Ant 1.6 with the 
production of many more Ant related jars than Ant 1.5

The strategy I would use would be to run a small launcher which would create a 
URLClassLoader to actually launch Ant proper. This avoids the long command 
lines entirley and would allow for the elimination of lcp.bat and also 
potentially do away with some complexity in the ant batch files.

This was discussed in the thread where we talked about no longer supporting 
JDK 1.1 One of the main things such a move gives us is access to the 
URLClassLoader to solve this problem.

I'm not sure how this will affect Gump just yet (it may not since Gump 
launches Ant's main class directly) and therefore the changes to Gump are 
probably a good thing anyway.

Does that help?

-- 
Conor MacNeill
Blog: http://codefeed.com/blog/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to