<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1561" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Garamond color=#0000ff size=4><SPAN 
class=848514707-06042007>Mark:</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=848514707-06042007>&gt;</SPAN>I commented out the bad code, so 
I can continue with getting testing to work. The test target is now getting 
executed but I get the following error:<BR><SPAN 
class=848514707-06042007>&gt;</SPAN>eclipse-test:<BR><SPAN 
class=848514707-06042007>&gt;</SPAN>&nbsp;&nbsp;&nbsp;&nbsp; [echo] Running 
org.drools.eclipse.AllTests<BR>&nbsp;<SPAN 
class=848514707-06042007>&gt;</SPAN>&nbsp;&nbsp;&nbsp; [java] Class not found "A 
fragment bundle cannot load classes: org.drools.eclipse.AllTests"<BR>&nbsp;<SPAN 
class=848514707-06042007>&gt;</SPAN>&nbsp;&nbsp;&nbsp; [java] Java Result: 
2</DIV>
<DIV><FONT face=Garamond color=#0000ff size=4><SPAN class=848514707-06042007>The 
code from Alex blewitt is wrong,.</SPAN></FONT></DIV>
<DIV><FONT face=Garamond color=#0000ff size=4><SPAN class=848514707-06042007>I 
fixed it: see rev 10798.</SPAN></FONT></DIV>
<DIV><FONT face=Garamond color=#0000ff size=4><SPAN class=848514707-06042007>A 
fragment does NOT have a class laoder.</SPAN></FONT></DIV>
<DIV><FONT face=Garamond color=#0000ff size=4><SPAN 
class=848514707-06042007><FONT size=4>
<P align=left></FONT><FONT color=#3f7f5f size=4>//PO: this is wrong. we need to 
use the PLUGIN_ID of the host, not that of the </P></FONT><FONT size=4>
<P align=left></FONT><FONT color=#3f7f5f size=4>// fragment</P>
<P align=left>// public static final String PLUGIN_NAME = 
AllTests.class.getPackage()</P>
<P align=left>// .getName();</P></FONT><FONT size=4>
<P></FONT><B><FONT color=#7f0055 size=4>public</B></FONT><FONT size=4> 
</FONT><B><FONT color=#7f0055 size=4>static</B></FONT><FONT size=4> 
</FONT><B><FONT color=#7f0055 size=4>final</B></FONT><FONT size=4> String 
</FONT><I><FONT color=#0000c0 size=4>PLUGIN_NAME</I></FONT><FONT size=4> = 
</FONT><FONT color=#2a00ff size=4>"org.drools.eclipse"</FONT><FONT 
size=4>;</P></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Garamond color=#0000ff size=4></FONT>&nbsp;</DIV>
<DIV><FONT face=Garamond color=#0000ff size=4></FONT>&nbsp;</DIV>
<DIV><SPAN class=848514707-06042007><FONT face=Garamond color=#0000ff size=4>for 
the jars stuffs, you may not want to use the flag crteate update jar in the 
build.properties.</FONT></SPAN></DIV>
<DIV><SPAN class=848514707-06042007><FONT face=Garamond color=#0000ff size=4>Or 
else it crteate update style jars for each plugin/feature.</FONT></SPAN></DIV><!-- Converted from text/plain format --><BR>
<P><FONT size=2>--<BR>Cheers<BR>Philippe<BR><BR>philippe ombredanne | 1 650 799 
0949 | pombredanne at nexb.com<BR>nexB - Open by Design (tm) - <A 
href="http://www.nexb.com/">http://www.nexb.com</A><BR><BR><BR></FONT></P>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Mark Proctor 
  [mailto:mproctor@codehaus.org] <BR><B>Sent:</B> Thursday, April 05, 2007 11:18 
  PM<BR><B>To:</B> Rules Dev List<BR><B>Cc:</B> Kris Verlaenen; Philippe 
  Ombredanne<BR><B>Subject:</B> Re: [rules-dev] 
  drools-eclipse<BR><BR></FONT></DIV><BR><BR>Also the testing environment 
  expects the plugins and features to be packages as directories inside the 
  zips, but for deployment we really want a jars inside a zjp. Any way to have 
  the test plugin/feature use directories and the main plugin/feature use a jar? 
  Or is the only way to unzip the jars to folders and delete the 
  jars?<BR><BR>Mark<BR>Mark Proctor wrote: 
  <BLOCKQUOTE cite=mid:4615BD98.7010906@codehaus.org type="cite">I have two 
    unit tests failing to compiler still:<BR>DRLCompletionProcessTest is failing 
    becuase "DefaultCompletionProcessor.filterProposalsOnPrefix" is not a static 
    method call. Which is confirmed here <A class=moz-txt-link-freetext 
    href="http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-eclipse/drools-eclipse-plugin/src/main/java/org/drools/eclipse/editors/completion/AbstractCompletionProcessor.java" 
    moz-do-not-send="true">http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-eclipse/drools-eclipse-plugin/src/main/java/org/drools/eclipse/editors/completion/AbstractCompletionProcessor.java</A><BR><BR>RuleContentOutlinePage 
    is failing because page.populatePackageTreeNode( source ) does not expect a 
    parameter. Which is confirmed here <A class=moz-txt-link-freetext 
    href="http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-eclipse/drools-eclipse-plugin/src/main/java/org/drools/eclipse/editors/outline/RuleContentOutlinePage.java" 
    moz-do-not-send="true">http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-eclipse/drools-eclipse-plugin/src/main/java/org/drools/eclipse/editors/outline/RuleContentOutlinePage.java</A><BR><BR>When 
    doing "run as junit" inside eclipse the ZoomControlTests fail, "worspace 
    closed".<BR><BR>LocationDeterminatorTest has a failure for 
    "testCheckLocationDetermination" "expected &lt;2&gt; but was: 
    &lt;1&gt;<BR><BR>Mark<BR>Kris Verlaenen wrote: 
    <BLOCKQUOTE 
    cite=mid:a429603e0704051822p352fdf09ke542318045803733@mail.gmail.com 
    type="cite">
      <DIV>I have now fixed most tests, at least they seem to be running here 
      locally.</DIV>
      <DIV>Note that one of the tests (ZoomControlTest) is actually a plugin 
      test, not sure if you can run those within the automatic build, as they 
      need the eclipse IDE to startup when testing (not sure, maybe maven has 
      support for eclipse plugin unit tests?).&nbsp; Not sure how important that 
      test is (I commented out some lines to get it working, I'll&nbsp;fix that 
      later). <BR><BR>Let me know if you need more help in getting the build for 
      the eclipse-plugin integrated in the overall build.</DIV>
      <DIV>&nbsp;</DIV>
      <DIV>Kris</DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN class=gmail_quote>On 4/5/07, <B class=gmail_sendername>Kris 
      Verlaenen</B> &lt;<A href="mailto:kris.verlaenen@gmail.com" 
      moz-do-not-send="true">kris.verlaenen@gmail.com</A>&gt; wrote:</SPAN> 
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
        <DIV>I will try to fix all tests for the eclipse-plugin as soon as 
        possible (hope I can get them working tonight).</DIV>
        <DIV>So that includes uncommenting tests again, making sure they compile 
        and making sure they are executed succesfully.</DIV><SPAN class=sg>
        <DIV>&nbsp;</DIV>
        <DIV>Kris<BR>&nbsp;</DIV></SPAN>
        <DIV><SPAN class=e id=q_111c3b066d9f693f_2>
        <DIV><SPAN class=gmail_quote>On 4/4/07, <B class=gmail_sendername>Mark 
        Proctor</B> &lt;<A 
        onclick="return top.js.OpenExtLink(window,event,this)" 
        href="mailto:mproctor@codehaus.org" target=_blank 
        moz-do-not-send="true">mproctor@codehaus.org </A>&gt; wrote:</SPAN> 
        <BLOCKQUOTE class=gmail_quote 
        style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Also 
          not only are many tests commented out, but most tests fail, 
          would<BR>be good if we can sort this out. <BR><BR>Mark<BR>Mark Proctor 
          wrote:<BR>&gt; Just a reminder that I have refactored the eclipse 
          stuff and there are<BR>&gt; now four directories.under drools-eclipse, 
          drools-ide no long exists.<BR>&gt; drools-eclipse-plugin <BR>&gt; 
          drools-eclipse-feature<BR>&gt; drools-eclipse-test<BR>&gt; 
          drools-eclipse-test-feature<BR>&gt;<BR>&gt; We are gradually fully 
          automating and customising maven so the top<BR>&gt; level build.xml 
          will be killed off. soon, and most likely no longer <BR>&gt; works. 
          However ant is still used to build the documentation and the<BR>&gt; 
          eclipse plugin, it is just integrated into the mavne lifecycle 
          using<BR>&gt; the antrun plugin.<BR>&gt;<BR>&gt; We will continue 
          include the engine, eclipse and brms in the same <BR>&gt; build system 
          for now as the project is quite fluid and we need close<BR>&gt; 
          co-operation. In the future, when the engine api and language 
          features<BR>&gt; mature, we may look at seperating brms and eclipse, 
          or atleast the <BR>&gt; brms, so that they baseline with a specific 
          version of the engine<BR>&gt; release, this will allow projects to do 
          releases on their own.<BR>&gt;<BR>&gt; I have automed the eclipse 
          plugin build, although still trying to get <BR>&gt; the unit tests 
          automated, and that is now part of the maven life<BR>&gt; cycle. Edson 
          is currently investigating having the various ant and<BR>&gt; manfiest 
          files having their information populated from maven - i.e .<BR>&gt; 
          dependencies and version info.<BR>&gt;<BR>&gt; drools-eclipse is now 
          activated as a profile, using the eclipse.home<BR>&gt; settings, this 
          is part of the automation process and the libs will not<BR>&gt; be 
          copied across unless you do this. <BR>&gt; mvn -Dmaven.test.skip 
          -Declipse.home=c:\java\eclipse install<BR>&gt;<BR>&gt; The following 
          classes have commented out tests, can I ask who ever is<BR>&gt; 
          responsible for them to sort this out. I want to get the eclipse 
          <BR>&gt; automation and testing ship shape, which will make things 
          easier for<BR>&gt; the future.<BR>&gt; IncompleteParsingTest<BR>&gt; 
          ReteooLayoutFactoryTest<BR>&gt; RuleContentOutlineTest<BR>&gt;<BR>&gt; 
          Mark<BR>&gt; _______________________________________________ <BR>&gt; 
          rules-dev mailing list<BR>&gt; <A 
          onclick="return top.js.OpenExtLink(window,event,this)" 
          href="mailto:rules-dev@lists.jboss.org" target=_blank 
          moz-do-not-send="true">rules-dev@lists.jboss.org</A><BR>&gt; <A 
          onclick="return top.js.OpenExtLink(window,event,this)" 
          href="https://lists.jboss.org/mailman/listinfo/rules-dev" 
          target=_blank 
          moz-do-not-send="true">https://lists.jboss.org/mailman/listinfo/rules-dev 
          </A><BR>&gt;<BR><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><BR><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
rules-dev mailing list
<A class=moz-txt-link-abbreviated href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A>
<A class=moz-txt-link-freetext href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</A>
  </PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>