ant-dev mailing list archives

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

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.
Problem:
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message