Thank you Renau. That was the point. I was just wondering, because I found the "mode" element in the spoonlet.dtd.<br><br>Greetings,<br>Timo Meinen<br><br><div><span class="gmail_quote">2008/3/17, Renaud Pawlak <<a href="mailto:renaud.pawlak@gmail.com">renaud.pawlak@gmail.com</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
If you look in the SpoonTask<br> (<a href="http://spoon.gforge.inria.fr/mvnsites/spoon-core/xref/spoon/SpoonTask.html">http://spoon.gforge.inria.fr/mvnsites/spoon-core/xref/spoon/SpoonTask.html</a>),<br> you should see a "compile" option for the Ant task. So a compile =<br>
"false" attribute in the spoon ant task should work...<br><br> Cheers,<br> /Renaud<br><br><br> On Mon, Mar 17, 2008 at 4:56 PM, Timo Meinen <<a href="mailto:timomeinen@googlemail.com">timomeinen@googlemail.com</a>> wrote:<br>
><br> > Hello,<br> ><br> > I am launching a spoonlet from within an ANT script. This spoonlet just<br> > generates some code for another compiler, so I don't want the spoonlet to<br> > compile the generated file. How can I activiate the "NoCompile" mode in my<br>
> spoonlet?<br> ><br> > If I put a <mode value="NoCompile"/> in my spoon.xml, I get an XML error:<br> ><br> > "Element type mode must be declared".<br> ><br> > If I put a <mode...> into my ANT script, I get another error:<br>
><br> > "../AntTest/build.xml:57: spoon doesn't support the "mode" attribute"<br> ><br> > Thank you for any help. Best regards,<br> ><br> > Timo Meinen<br><br>> _______________________________________________<br>
> Spoon-discuss mailing list<br> > <a href="mailto:Spoon-discuss@lists.gforge.inria.fr">Spoon-discuss@lists.gforge.inria.fr</a><br> > <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/spoon-discuss">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/spoon-discuss</a><br>
><br> ><br><br><br><br> --<br> Renaud Pawlak, Professor<br> ISEP - 21 rue d'Assas 75006 Paris, France<br> Head of the Computer Engineering Department<br> Head of ISEP Research and Consulting for Computer Engineering<br>
Tel.: +33 149 54 52 78<br> Mob.: +33 6 37 29 12 15<br> <a href="http://renaudpawlak.wikidot.com">http://renaudpawlak.wikidot.com</a><br><br> _______________________________________________<br> Spoon-discuss mailing list<br>
<a href="mailto:Spoon-discuss@lists.gforge.inria.fr">Spoon-discuss@lists.gforge.inria.fr</a><br> <a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/spoon-discuss">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/spoon-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Glück Auf<br>Timo