IvyDE: impossible to resolve dependencies

2009-05-12 Thread rob08
Hi all, I'm migrating projects from ivy1 to ivy 2. My ant task is able to resolve dependencies using ivy 2 fine. Using IvyDE in Eclipse 3.4, I get errors as follows: Impossible to resolve dependencies of somevendor#somemodule;work...@mypc unresolved dependency: somevendor#othermodule;latest.i

RE: Problem with Ant and MailLogger

2009-05-12 Thread Richard, Troy
Thanks, I upgraded my JAVA SDK to the SR 8a version and it works now. Thanks Troy -Original Message- From: Eric Fetzer [mailto:elstonk...@yahoo.com] Sent: Tuesday, May 12, 2009 3:48 PM To: Ant Users List Subject: Re: Problem with Ant and MailLogger Error description Error Message: Rece

Re: cobertura-instrument--anyone seen this?

2009-05-12 Thread Mitch Gitman
OK, here's the explanation, and well, if it isn't frustrating... I'd recently rearranged my classpath. (I should have realized right away that's what changed recently and started down that route.) Apparently, I wasn't making available in the classpath the libraries needed by Cobertura: log4j, asm,

Re: Problem with Ant and MailLogger

2009-05-12 Thread Eric Fetzer
Error description Error Message: Received java.io.IOException: Unexpected reply to command: HELO when running ANT with -logger org.apache.tools.ant.listener.MailLogger to send mail message. . Stack Trace: Can vary from application to application. . Local fix Application using the java.io.PrintSt

Re: cobertura-instrument--anyone seen this?

2009-05-12 Thread Mitch Gitman
Thanks, Francis. Actually, just after I posted this query, I thought, "I bet the javac debug attribute was inadvertently turned off." Oddly enough, though, I'm running with debug="true". I'll continue to try to isolate what's going on here. I'll send a follow-up eventually when I figure it out. O

RE: Problem with Ant and MailLogger

2009-05-12 Thread Richard, Troy
I'm using: java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20060511 (SR2)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-2006050 4 (JIT enabled) J9VM - 20060501_06428_lHdSMR JIT - 20060428_1800_r8 GC - 20060501_AA) JCL - 2006051

Re: Problem with Ant and MailLogger

2009-05-12 Thread Eric Fetzer
What version of Java are you using? http://www-01.ibm.com/support/docview.wss?uid=swg1IZ08156   From: "Richard, Troy" To: "user@ant.apache.org" Sent: Tuesday, May 12, 2009 2:09:09 PM Subject: Problem with Ant and MailLogger I'm getting the following error me

RE: Problem with Ant and MailLogger

2009-05-12 Thread Richard, Troy
-Original Message- From: Francis Galiegue [mailto:f...@one2team.com] Sent: Tuesday, May 12, 2009 2:25 PM To: Ant Users List Subject: Re: Problem with Ant and MailLogger Le Tuesday 12 May 2009 22:20:19 Francis Galiegue, vous avez écrit : > Le Tuesday 12 May 2009 22:09:09 Richard, Troy, vo

Re: Problem with Ant and MailLogger

2009-05-12 Thread Francis Galiegue
Le Tuesday 12 May 2009 22:20:19 Francis Galiegue, vous avez écrit : > Le Tuesday 12 May 2009 22:09:09 Richard, Troy, vous avez écrit : > > I'm getting the following error message: > > > > MailLogger failed to send e-mail! > > java.io.IOException: Unexpected reply to command: HELO L00113: 451 4.7.0

RE: Problem with Ant and MailLogger

2009-05-12 Thread Richard, Troy
It is reachable, I have several java applications using javax.mail to send success and failure emails that send out through the same mail server and those all go through fine. Thanks Troy -Original Message- From: Francis Galiegue [mailto:f...@one2team.com] Sent: Tuesday, May 12, 2009 2:

Re: Problem with Ant and MailLogger

2009-05-12 Thread Francis Galiegue
Le Tuesday 12 May 2009 22:09:09 Richard, Troy, vous avez écrit : > I'm getting the following error message: > > MailLogger failed to send e-mail! > java.io.IOException: Unexpected reply to command: HELO L00113: 451 4.7.0 > Timeout waiting for client input This is an IOException. What's more, you g

RE: Problem with Ant and MailLogger

2009-05-12 Thread Richard, Troy
I do have a project properties file and it has the following defined. MailLogger.mailhost = mail.myserver.com MailLogger.from = trich...@blackhillscorp.com MailLogger.failure.to = trich...@blackhillscorp.com MailLogger.success.to = trich...@blackhillscorp.com MailLogger.failure.subject = ${app.nam

RE: Problem with Ant and MailLogger

2009-05-12 Thread Cole, Derek E
I am only slightly familiar with this, but don't you have to have a MailLogger.properties file defined and passed to the mail logger with -DMailLogger.properties.file= -Original Message- From: Richard, Troy [mailto:troy.rich...@blackhillscorp.com] Sent: Tuesday, May 12, 2009 4:09 PM To: u

Problem with Ant and MailLogger

2009-05-12 Thread Richard, Troy
I'm getting the following error message: MailLogger failed to send e-mail! java.io.IOException: Unexpected reply to command: HELO L00113: 451 4.7.0 Timeout waiting for client input at org.apache.tools.mail.MailMessage.send(MailMessage.java:445) at org.apache.tools.mail.MailMessage

Re: cobertura-instrument--anyone seen this?

2009-05-12 Thread Francis Galiegue
Le Tuesday 12 May 2009 20:31:10 Mitch Gitman, vous avez écrit : > I'm not sure there's a better forum for this question. I'm invoking > the *cobertura-instrument > *Ant task for instrumenting classes for Cobertura code coverage. Very > simplistic implementation: > > > >

cobertura-instrument--anyone seen this?

2009-05-12 Thread Mitch Gitman
I'm not sure there's a better forum for this question. I'm invoking the *cobertura-instrument *Ant task for instrumenting classes for Cobertura code coverage. Very simplistic implementation: The output I get though is this: [cobertura:cobertura-instrument] C

RE: API for setting a property reference?

2009-05-12 Thread John Francis
Thanks, so given a build.xml ... And the java code for the task ... package namespace; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; public class MyTask extends Task {

Re: API for setting a property reference?

2009-05-12 Thread Stefan Bodewig
On 2009-05-12, John Francis wrote: > Is there a way to programmatically (i.e. using the API) set the id of a > property in Ant, so I can reference it via refid later on? Project#addReference is what you are looking for. Stefan --

RE: API for setting a property reference?

2009-05-12 Thread John Francis
Thanks, ?but I need to set the id of the original property not the refid on a property that references it? -- This message is private and confidential. If you have received this message in error, please not

RE: API for setting a property reference?

2009-05-12 Thread Cole, Derek E
Look at the property class in the Ant API. There is a setRefId method that might do what you're talking about. -Original Message- From: John Francis [mailto:jfran...@his.co.uk] Sent: Tuesday, May 12, 2009 11:21 AM To: user@ant.apache.org Subject: API for setting a property reference? H

API for setting a property reference?

2009-05-12 Thread John Francis
Hi, Is there a way to programmatically (i.e. using the API) set the id of a property in Ant, so I can reference it via refid later on? ( Similar to "Java Development with Ant" first edition pp 80-81 but in code ) Thanks -

Re: Generate XML

2009-05-12 Thread Brian Agnew
which can be found at http://www.oopsconsultancy.com/software/xmltask On 11/5/09 19:52, James Fuller wrote: On Mon, May 11, 2009 at 8:30 PM, raghu guru wrote: Hi All, Is there any task available to generate / edit the xml file. 3rd party xmltask task will do that hth, Jim Fuller