Strange behavior, Could you try to compile the project available at : http://people.apache.org/~clement/ipojo/tutorials/10min/tutorial.zip
Unzip and launch 'ant' from the 'solution' directory (not from the root folder, else you'll have to implement the components). Thanks, Clement > -----Message d'origine----- > De : Richard Martin [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 6 juin 2008 11:08 > À : [email protected] > Objet : Re: running iPOJO Ant task outside eclipse > > Hi, > > I removed the junit jar from my path, there is now nothing custom in > my ant path. And I've never put anything directly into my java lib > folder. But it still shows exactly the same error. > > I'm not sure where else it would be loading ASM classes from. > > Cheers > Bob > > On 6/5/08, Richard Martin <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Sorry I didn't reply there, got put on something else. > > > > I'll check properly when I'm back at work tomorrow but I know the > only > > thing in my ant path is the ant-junit-4 jar from the gentoo repos, > so > > I can run the test suite prior to builds. Which more than likely > will > > have some asm stuff in it. > > > > I can disable the tests and move the jar to quickly test that theory > > tomorrow. But it will still leave me with a bit of dilemma if that > is > > the problem. > > > > Cheers > > Bob > > > > > > On Thu, Jun 5, 2008 at 1:09 PM, Clement Escoffier > > <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > It seems that your Ant build does not use ASM classes embedded in > the ant > > > task. > > > The not found method was added in ASM 3.0, which is embedded > inside the > > > iPOJO Ant Task. > > > > > > Do you have a special ANT classpath (specially in the ANT_HOME\lib > > > directory) or libraries installed in your JAVA_HOME/lib/ext folder > that can > > > be used instead of the class embedded in the task jar ? > > > > > > Clement > > > > > > > > > > > >> -----Message d'origine----- > > >> De : Richard Martin [mailto:[EMAIL PROTECTED] > > >> Envoyé : jeudi 5 juin 2008 14:10 > > >> À : [email protected] > > >> Objet : running iPOJO Ant task outside eclipse > > >> > > >> Hello all, > > >> > > >> I am trying to automate our build scripts so they no longer > depend on > > >> eclipse. Currently all the ant builds work fine when run inside > > >> eclipse but when I try to run the build scripts from a command > prompt > > >> iPOJO throws an error about asm. > > >> > > >> The error is > > >> /config/build.xml:104: java.lang.NoSuchMethodError: > > >> > org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I) > > >> V > > >> > > >> Is it possible to run the ipojo ant task from a bare command > line, do > > >> I need to provide the asm jars somewhere. The ant task doesn't > seem > > >> to take a classpath entry though. > > >> > > >> Many thanks > > >> Bob > > >> > > >> ----------------------------------------------------------------- > ---- > > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > > >> For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > ------------------------------------------------------------------ > --- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

