Re: where to put credentials for ivy:publish

2009-11-03 Thread Maarten Coene
I think the host attribute in your credentials should only contain the host: Maarten From: "nick.dila...@inovis.com" To: "ivy-u...@ant.apache.org" Sent: Wed, November 4, 2009 12:45:06 AM Subject: where to put credentials for ivy:publish I have an ivy:publ

Re: rolling back version issue

2009-11-03 Thread Maarten Coene
This is a know bug, cfr https://issues.apache.org/jira/browse/IVY-1044 Current workarounds are to add the revsision to the retrieve pattern, or clean your retrieve directory before retrieving. Maarten - Original Message From: Antoine Levy Lambert To: ivy-u...@ant.apache.org Sent: Tu

RE: IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
Hi Shawn, Thank you Shawn for sharing your macro. We shall start from here.. and see if we could write a good ant task based on this. Regards, Nagendra -- View this message in context: http://old.nabble.com/IDEA-Project-generation-from-ant-tp26160045p26191008.html Sent from the Ant - Users mai

Re: IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
> I generally only generate .classpath files Could you tell me how you archive this with ant >Try to keep it simple because most of the time you are just updating the dependencies of the project. This is perfect way.. could be archived by syncup with the existing ipr files. Yes, mostly clas

Re: macro scoping as private

2009-11-03 Thread Raja Nagendra Kumar
O.k Thank you. >I haven't tested either whether macro definitions can be overriden (either within a task or within a file). I see macros can be overridden in the order they get loaded. Regards, Nagendra -- View this message in context: http://old.nabble.com/macro-scoping-as-private-tp2615667

rolling back version issue

2009-11-03 Thread Antoine Levy Lambert
Hi, I have the following problem. If I have a retrieve pattern which does not include the revision of an artifact, retrieve does not roll back the artifact. Let's say I have retrieved revision 200 of abc.jar; if I want to retrieve revision 199 afterwards, the retrieve does not roll back. I am

where to put credentials for ivy:publish

2009-11-03 Thread nick.dila...@inovis.com
I have an ivy:publish target for which I use an ivysettings.xml file, but when I check the artifactory server access log it is using "anonymous" user and not picking up "myuser". Is there another place where I should put the credentials line? Seems like it's being ignored. I'm using ivy vers

Eclipses hangs showing "Resolving" (ivy) on startup

2009-11-03 Thread hounddog
We are having an intermittent problem with Eclipse hanging on startup. the progress bar reports "Ivy Resolve job of ..." in the progress bar. What information can I provide to help debug this? -- View this message in context: http://old.nabble.com/Eclipses-hangs-showing-%22Resolving%22-%28ivy%

RE: Creating a fileset from a list of filenames

2009-11-03 Thread Wray, Nathan
Hi David, It has to do with the procedures I'm trying to piggyback onto. The ant target creates some required code review documentation. The goal is to have the ant target fail, rather than having the commit fail as you typically would with a pre-commit hook script (or a report as you might wit

Eclipses hangs showing "Resolving" (ivy) on startup

2009-11-03 Thread hounddog
We are having an intermittent problem with Eclipse hanging on startup. the progress bar reports "Ivy Resolve job of ..." in the progress bar. What information can I provide to help debug this? -- View this message in context: http://old.nabble.com/Eclipses-hangs-showing-%22Resolving%22-%28ivy%

Re: Creating a fileset from a list of filenames

2009-11-03 Thread David Weintraub
Just curious: Why are you using Ant for this? Why not have a post-commit script that runs the check on these files? Or, even better, use Hudson which is a continuous build system. It'll automatically run your build everytime someone does a Subversion checkin. Plus, it has a CheckStyle plugin whic

Re: IDEA Project generation from ant

2009-11-03 Thread Brian Pontarelli
I generally only generate .classpath files and then use them in both Eclipse and IntelliJ. Savant also has a plugin for generating files and since it is an Ant script , you can use that. The best approach is to use a stock XML file that contains most everything and then a simple script to a

Using a Macrodef from a Subproject

2009-11-03 Thread Dan Turkenkopf
Is it possible to load a macrodef in a subproject and have it usable in the calling project? I've got a task flow that's roughly: ParentProject calls load target on SubProject. SubProject loads antlib containing macrodefs. ParentProject calls loaded macro. I know this isn't supported as part of

RE: IDEA Project generation from ant

2009-11-03 Thread Shawn Castrianni
I would advise against creating the ipr file as it is very long and nasty. I would suggest only generating the iml file which is the important part and points to the source code locations and dependent jars. I have written a macrodef to generate an IML that has been tested against IJ 8.1.3. T

Re: Creating a fileset from a list of filenames

2009-11-03 Thread Matt Benson
--- On Tue, 11/3/09, Wray, Nathan wrote: > From: Wray, Nathan > Subject: Creating a fileset from a list of filenames > To: user@ant.apache.org > Date: Tuesday, November 3, 2009, 7:16 AM > Hi All; > > > > I'm trying to identify modified java files in an SVN > working copy and > run checksty

Creating a fileset from a list of filenames

2009-11-03 Thread Wray, Nathan
Hi All; I'm trying to identify modified java files in an SVN working copy and run checkstyle on these files. So far I've got a property with a list of everything modified like: /path/file1;/path/file2;/path/file3 It seems like I need something the opposite of pathconvert to turn this p

IDEA Project generation from ant

2009-11-03 Thread Raja Nagendra Kumar
Hi, Are there any ant tasks available to generate intellij and/or eclipse projects from ant target. I wish to provide the needed class and source paths. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -- View this message in context: http://old.nabble.com/IDEA-Project-generation-from-ant