ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jackie Xiao <>
Subject RE: [Ant]Read buid.xml file in memory
Date Fri, 13 Feb 2015 01:54:06 GMT
Hi, Martin

The thing is, we need to enable customers to work with us, but we don’t want to share the
build scripts (I know it’s weird).

So, we want to encrypt the build.xml and give them the encrypted file.

In the build process, we will decrypt build.xml in memory, and if Ant can read the content
from memory, this should work.

Best Regards

From: Martin Gainty <<>>
Date: 2015年2月12日 GMT+08003时52分04秒
To: Ant Users List <<>>
Subject: RE: [Ant]Read buid.xml file in memory
Reply-To: "Ant Users List" <<>>
Hi Xiao-

supposedly yes ...if you can get your File to extend apache jackrabbit MemoryFile

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
(except your objects declared as transient of course)

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


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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message