You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Oliver Wulff <ol...@zurich.ch> on 2003/05/02 07:42:03 UTC

Antwort: Re: Eclipse 2.1, Ant 1.5.2, log method -> NullPointerException




Darins,

thank you. That's exactly my problem. I've added the jar with my custom
task under preferences. This works fine as mentioned in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=34466

Will there be available a fix soon?




                                                                                                                                       
                      Darin Swanson                                                                                                    
                      <Darin_Swanson@u         An:      "Ant Users List" <us...@ant.apache.org>                                         
                      s.ibm.com>               Kopie:                                                                                  
                                               Thema:   Re: Eclipse 2.1, Ant 1.5.2, log method -> NullPointerException                 
                      30.04.2003 23:34                                                                                                 
                      Bitte antworten                                                                                                  
                      an "Ant Users                                                                                                    
                      List"                                                                                                            
                                                                                                                                       
                                                                                                                                       




Oliver,

Likely this is better on the eclipse.platform newsgroup but (and I am
guessing a little here as you neglected to provide the stack trace) you
are including your custom tasks within the plug-in JAR as well as in your
task JARs?

Please see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=34466
or the Eclipse readme (known issues).

HTH
Darins





Oliver Wulff <ol...@zurich.ch>
04/30/03 10:01 AM
Please respond to "Ant Users List"


        To:     ant-user@jakarta.apache.org
        cc:
        Subject:        Eclipse 2.1, Ant 1.5.2, log method ->
        NullPointerException







Hi everybody

I've downloaded Eclipse 2.1 where Ant 1.5.2 is integrated. If I want
register custom Ant task, I deployed my jars to the ant plugin and changed
the file plugin.xml. Unfortunately, I get a NullPointerException back.
I've
found the reason in the call log() inside the task. The call log() does
work outside of Eclipse. Did anybody have the same problem?

Oliver






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org