<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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>
eclipse-test:<br>
&nbsp;&nbsp;&nbsp;&nbsp; [echo] Running org.drools.eclipse.AllTests<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] Class not found "A fragment bundle cannot load classes:
org.drools.eclipse.AllTests"<br>
&nbsp;&nbsp;&nbsp;&nbsp; [java] Java Result: 2<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">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
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 moz-do-not-send="true" 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">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 moz-do-not-send="true" 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">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 moz-do-not-send="true"
 href="mailto:kris.verlaenen@gmail.com">kris.verlaenen@gmail.com</a>&gt;
wrote:</span>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
      <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 moz-do-not-send="true"
 onclick="return top.js.OpenExtLink(window,event,this)"
 href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org
      </a>&gt; wrote:</span>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">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 moz-do-not-send="true"
 onclick="return top.js.OpenExtLink(window,event,this)"
 href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
&gt; <a moz-do-not-send="true"
 onclick="return top.js.OpenExtLink(window,event,this)"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev"
 target="_blank">
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 size="4" width="90%">
_______________________________________________
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>
</body>
</html>