RE: calling ant with parameters

2008-06-26 Thread Vallon, Justin
You can do the following: ant debug build ant release build ant full test ant only-failures test ant test Think of "debug" and "release" as environment modifiers (adjectives) that modify the behavior of subsequent targets by side-effect. -Justin office 8-383-6725, 212-272-6725;

RE: 'clean' target specifying all files 'except' a given fileset

2008-06-16 Thread Vallon, Justin
Let me second that, with a further example: I would be "frustrated" if an "ant clean" deleted my scratch files, notes, etc, that might be sitting at the top-level of a project. -Justin office 8-383-6725, 212-272-6725; cell 917-861-6042 -Original Message- From: David Weintraub [mailto:[EMA

RE: exec task

2008-04-09 Thread Vallon, Justin
Shawn, 'exec' runs a process. Side-effects (environment variables, etc) that happen in the process are lost when the process exits. If you want this behavior, then you could generate a script on the fly that does the equivalent ("set-some-vars\nrun-the-command\n"). If you want one task to choos

RE: regular expressions in Ant

2008-03-24 Thread Vallon, Justin
[\] is open-character-class right-bracket. The exception is that you are missing a ']', making the pattern [\]] - matching a single right-bracket. You mean [\\], or more simply \\. To turn backslash into double backslash, try: regexp="\\" replace="" -Original Message-

RE: Remove entru from ZIP file using ANT

2008-02-12 Thread Vallon, Justin
Walter, Use a zipfileset as the source in a zip task. You can use includes/excludes to filter the files-to-copy: -Justin office 8-383-6725, 212-272-6725; cell 917-861-6042 -Original Message- From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] Sent:

RE: rexec and setting env variables on remote host

2008-01-29 Thread Vallon, Justin
It sounds like the remote process is not exiting, or holding onto the stdout/stderr. If you run your sample with a "real" rsh, does the rsh exit automatically? ie: rsh host ". ./.profile ; cd abc ; ... ; exit" Is "\u038" '&'? -Justin office 8-383-6725, 212-272-6725; cell 917-861-6042 -Origi