Hi,

Just to let you know, I installed ant binary from the ant site and it
works fine.

I ran gentoo ant with the debug command to get the classpath in use
and it was loading up asm2 jars for some reason.  I couldn't work out
what dependency gentoo had installed that was doing that so I just
unmerged it and I'm sticking with the binary from the ant site for
now.

Many Thanks
Bob

On Fri, Jun 6, 2008 at 2:47 PM, Richard Martin
<[EMAIL PROTECTED]> wrote:
> It is 1.7.0-r1, but its actually ant-core from the gentoo repository.
> Rather than the ant ant in the repos which comes with a whole bunch of
> optional ant tasks forced upon you.
>
> I'm guessing it is some gentoo specific thing.  Probably wont be till
> Monday before I can try some other things on it, but when I can I'll
> try installing the other ant or just downloading it from the web and
> see if that works.
>
> Thanks for all the help so far
> Bob
>
> On 6/6/08, Clement Escoffier <[EMAIL PROTECTED]> wrote:
>> So, it does not come from your project.
>>  Which version of Ant do you use ?
>>
>>  I try with Apache Ant 1.7 on Windows and Linux successfully.
>>
>>
>>  Clement
>>
>>  > -----Message d'origine-----
>>  > De : Richard Martin [mailto:[EMAIL PROTECTED]
>>
>> > Envoyé : vendredi 6 juin 2008 14:40
>>
>> > À : [email protected]
>>  > Objet : Re: running iPOJO Ant task outside eclipse
>>  >
>>  > Sadly it's exactly the same thing.
>>  >
>>  > [EMAIL PROTECTED] ~/tutorial/solution $ ant
>>  > Buildfile: build.xml
>>  >
>>  > all:
>>  >
>>  > clean:
>>  >
>>  > compile:
>>  >     [mkdir] Created dir:
>>  > /home/bob/tutorial/solution/spell.services/output
>>  >     [mkdir] Created dir:
>>  > /home/bob/tutorial/solution/spell.services/output/classes
>>  >     [javac] Compiling 2 source files to
>>  > /home/bob/tutorial/solution/spell.services/output/classes
>>  >
>>  > package:
>>  >       [bnd] spell.services 2
>>  >
>>  > clean:
>>  >
>>  > buildclasspath:
>>  >      [copy] Copying 1 file to
>>  > /home/bob/tutorial/solution/spell.english/libs
>>  >
>>  > compile:
>>  >     [mkdir] Created dir:
>>  > /home/bob/tutorial/solution/spell.english/output
>>  >     [mkdir] Created dir:
>>  > /home/bob/tutorial/solution/spell.english/output/classes
>>  >     [javac] Compiling 1 source file to
>>  > /home/bob/tutorial/solution/spell.english/output/classes
>>  >
>>  > package:
>>  >       [bnd] spell.english 1
>>  >     [ipojo] Input Bundle File :
>>  > /home/bob/tutorial/solution/spell.english/output/spell.english.jar
>>  >     [ipojo] Metadata File :
>>  > /home/bob/tutorial/solution/spell.english/metadata.xml
>>  >     [ipojo] Start bundle manipulation
>>  >
>>  > BUILD FAILED
>>  > /home/bob/tutorial/solution/build.xml:7: The following error occurred
>>  > while executing this line:
>>  > /home/bob/tutorial/solution/spell.english/build.xml:47:
>>  > java.lang.NoSuchMethodError:
>>  > org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)
>>  > V
>>  >
>>  > Total time: 1 second
>>  >
>>  > On 6/6/08, Clement Escoffier <[EMAIL PROTECTED]> wrote:
>>  > > 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]
>>  > >
>>  > >
>>  >
>>
>> > ---------------------------------------------------------------------
>>
>> > 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]

Reply via email to