Re: Eclipse @category for Ant?

2011-07-07 Thread Andy Stevens
Hi Steve, Given that @category (as described at the URL you gave) is a javadoc tag, and Ant scripts are XML files and don't contain javadocs, I doubt it... I dare say some similar functionality could maybe be added to eclipse's Outline support for XML files, perhaps using a specific format of com

RE: C, C# and Ivy - Publishing binaries and many supporting files

2011-07-07 Thread Shawn Castrianni
I publish the binary library and a zip of include files. In my ANT script, I have a dependencies.process target that runs after my dependencies.resolve and dependencies.retrieve to post process the downloaded dependencies. I look for any include.zip files and auto-explode them back into indivi

C, C# and Ivy - Publishing binaries and many supporting files

2011-07-07 Thread Peter Kahn
Hi all, How do you approach publishing a binary library plus a large number of supporting files? Specifically, we have a build that produces a binary DLL + many include files. I'd like to know what's the standard practice and what are the gotchas. I can publish the DLL and a zip containing the

Re: Copy a file from an smb network location to a local one

2011-07-07 Thread Scot P. Floess
Sorry, the samba-client packages :) On Thu, 7 Jul 2011, Josh Williams wrote: I know I can use get if i want to copy the file from a specific location but the location i want to use at the moment is smb://excel/... For example if I go on to Ubuntu's window's explorer and choose to go to smb://e

Re: Copy a file from an smb network location to a local one

2011-07-07 Thread Scot P. Floess
I've done a bit of googling - I'm not finding anything useful for you... The get task looks to support things like ftp, http - definitely from the description of the task "Any URL schema supported by the runtime is valid here, including http:, ftp: and jar:" I'm guessing you are on *nix? If

Re: Syntax for Names: target, property, macrodef, etc.

2011-07-07 Thread Steve Amerige
When I look at the 1.8.2 codebase, I see in: ant-1.8.2\src\main\org\apache\tools\ant\taskdefs\MacroDef.java /** * Check if a character is a valid character for an element or * attribute name. * * @param c the character to check * @return true if the character is

RE: Hide password in java ant task

2011-07-07 Thread David Parks
Your java class is going to need to be able to input the password on STDIN I believe. Assuming you control 'Test2' (in your example) enough to make that happen, then take a look at the input and inputstring propery of the java task, they allow you to pass data in via STDIN. The best solution is to

Classloader not collected using junit4 in ant 1.8.1

2011-07-07 Thread Markus Oley
Hi all, I have a problem which classloading and ant 1.8.1, junit 4.8.2 and log4j 1.2.16 or any third-party libraries: . with the classpath: Following target is called: only.junit4.example1 and only.junit4.example2 both call the target with junit-call above

Hide password in java ant task

2011-07-07 Thread Muralidhar Manku
Hi All, I am using ant java task to execute a class file and passing some argument to it. one of the argument to this java class is the database password. When the java task is getting executed, the entire command along with the password is displayed in the process (ps -ef). Is there any way to

Copy a file from an smb network location to a local one

2011-07-07 Thread Josh Williams
I know I can use get if i want to copy the file from a specific location but the location i want to use at the moment is smb://excel/... For example if I go on to Ubuntu's window's explorer and choose to go to smb://excel the folder opens just fine! Whenever I try to run the script using ant thou