Re: [Ant]Read buid.xml file in memory

2015-02-12 Thread Earl Hood
On Thu, Feb 12, 2015 at 7:54 PM, Jackie Xiao wrote: > 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). Then maybe you should consider using the Ant API directly to set your tasks and what not, or a different tool entire

RE: [Ant]Read buid.xml file in memory

2015-02-12 Thread Jackie Xiao
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 cont

Re: sshexec

2015-02-12 Thread Peter West
Someone who knows the codebase better than I do may choose to comment, but I can't imagine why a Java program with full access to the Javi API facilities would try to run a javascript script. From the look of the trace, the error is being reported bak to the sshexec process, so it's happening o

RE: sshexec

2015-02-12 Thread Martin Gainty
any chance you can use putty scp to copy the item to remote server? http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html copy the local file c:\documents\foo.txt to the server example.com as user fred to the file /tmp/foo you would type: pscp c:\documents\foo.txt f...@example.com:/tmp

Re: sshexec

2015-02-12 Thread Eric Fetzer
Yes Peter, the one line left is in the calling ant script. When it returns from the sshexec, always returning with success, sometimes sshexec must be misinterpreting as failure. I'm not sure where that JavaScript is coming from, I assumed that was a part of the sshexec task itself. BTW, thank

Re: sshexec

2015-02-12 Thread Peter West
Hi Eric, I'm still confused. When you say there's one line left in the ant script, I assume you're talking about the calling script I assume also that the one line left is the "copy" task that you see reporting below. In your original post, the copy task doesn't get executed because of a failu

Re: sshexec

2015-02-12 Thread Eric Fetzer
Here it is with a successful finish Peter:   [sshexec]   [sshexec] main:   [sshexec]   [sshexec]   [sshexec] BUILD SUCCESSFUL  [sshexec] Total time: 1 minute 9 seconds [copy] Copying 1 file to c:\BuildDeployScripts\dist\Logs\2.16.3.5-20150211-0807\output That's it, no stack trace.  Once the