ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: [Ant]Read buid.xml file in memory
Date Wed, 11 Feb 2015 19:52:04 GMT
Hi Xiao-

supposedly yes ...if you can get your File to extend apache jackrabbit MemoryFile
https://jackrabbit.apache.org/api/1.5/index.html?org/apache/jackrabbit/core/fs/mem/MemoryFile.html

I would not rely on any java implementor to guarantee your Java Object will be "in memory"
vs "on disk"
specifically a java object which implements Serializable will save the object to disk by the
serializer..
http://www.onjava.com/pub/a/onjava/excerpt/JavaRMI_10/?page=3
(except your objects declared as transient of course)

Did you have a specific requirement in mind for "Memory File" for your build.xml ?

BR,
Martin




> From: jackie.xiao@ebaotech.com
> To: user@ant.apache.org
> Subject: [Ant]Read buid.xml file in memory
> Date: Wed, 11 Feb 2015 16:07:11 +0000
> 
> Dear List:
> 
> Is it possible for Ant to read build files from memory?
> 
> If possible, what will be the necessary steps, thanks.
> This e-mail and any attachments thereto are intended for the sole use of the recipient(s)
named above and may contain confidential and/or privileged material. Any use of the information
contained herein (including, but not limited to, total or partial reproduction, communication,
or dissemination in any form) by persons other than the intended recipient(s) is prohibited.
If you received this in error, please contact the sender immediately and delete the material
from any computer.
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message