ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Göransson <>
Subject Serializable Location?
Date Mon, 15 Jul 2002 11:19:00 GMT

I've written a task which uses RMI in order to execute a core Ant task 
on a remote host. The current design
passes back a BuildException over rmi if the build fails.
The BuildException implements the interface Serializable but contains a 
reference to the class Location which doesn't.
This makes the BuildException not serializable if it contains a 
location. Would there be any problems changing the class Location
by adding the implements Serializable declaration and there by making 
BuildException truly serializable?

/Jonas Göransson

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message