Just a note, the ImageResolver jar contains a local ImageResolver extension. The ivyconf.xml file specifies its use. It occurs to me that the ivyconf.xml file that is in use locally contains property substitutions that get handl;ed by Ant. Is that not allowed in the CLI version?
> -----Original Message----- > From: James Poli [mailto:[EMAIL PROTECTED] > Sent: Monday, September 24, 2007 12:40 PM > To: [email protected] > Subject: RE: Command line fails Ivy 1.4.1 > > Xavier, > > The command is below. It's run on Unix so the '\'s are command line > continuations: > > sdsjava -cp > commons-cli-1.0.jar:ivy-1.4.1.jar:ivy-core-1.4.1.jar:sas.tools .ivy.Image > ServerResolver.jar fr.jayasoft.ivy.Main \ > -conf ivyconf.xml \ > -publish remote \ > -publishpattern dist/foo/bar/junk.jar \ > -revision 1.1.1 \ > -status integration \ > -ivy junk_ivy.xml \ > -verbose > > All the jars are in that directory. > > Jim > > > > -----Original Message----- > From: Xavier Hanin [mailto:[EMAIL PROTECTED] > Sent: Monday, September 24, 2007 12:00 PM > To: [email protected] > Subject: Re: Command line fails Ivy 1.4.1 > > Could you give an example of how you run the command line, > and what you intend to do with it? We may find a workaround > to your problem, and narrow it down to enter a new jira issue. > > Xavier > > On 9/24/07, James Poli <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > We're trying to run command line ivy and are getting an > exception (see > > below). It appears that the publication date is never set. Do you > > have an example of how to run command line ivy? Is this > fixed in the > > alpha? > > > > Exception in thread "main" java.lang.NullPointerException: null > > publication date not allowed > > at > > > fr.jayasoft.ivy.DefaultModuleDescriptor.setResolvedPublicationDate(Def > > au > > ltModuleDescriptor.java:206) > > at fr.jayasoft.ivy.Ivy.deliver(Ivy.java:2199) > > at fr.jayasoft.ivy.Ivy.deliver(Ivy.java:2153) > > at fr.jayasoft.ivy.Main.main(Main.java:291) > > > > > > Thanks in advance, > > Jim > > > > > > > > > > > > > > > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ http://incubator.apache.org/ivy/ > http://www.xoocode.org/ >
