<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5921" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2>Hi Geoffrey, Esteban,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2>The Eclipse GWT Plugin in essence calls&nbsp;out 
to&nbsp;GWT's com.google.gwt.dev.DevMode and does not use maven. 
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010></SPAN><SPAN 
class=147250209-14102010><FONT face=Arial color=#0000ff size=2>I think half the 
problem could be the disjoint between the default paths used by maven compared 
to the default paths used by gwt i.e. they are different: </FONT></SPAN><SPAN 
class=147250209-14102010><FONT face=Arial color=#0000ff size=2>mvn uses 
src/main/webapp by default whereas gwt&nbsp;prefers /war. It looks like you can 
bring the two inline </FONT></SPAN><SPAN class=147250209-14102010><FONT 
face=Arial color=#0000ff size=2><A 
href="http://mojo.codehaus.org/gwt-maven-plugin/user-guide/war-folder.html">http://mojo.codehaus.org/gwt-maven-plugin/user-guide/war-folder.html</A>&nbsp;but 
I haven't tried it. A warning to this effect is in the log you show "Your POM 
&lt;build&gt;&lt;outputdirectory&gt; does not match your hosted webapp 
WEB-INF/classes folder for GWT Hosted browser to see your classes." I think the 
classes are JIT'ed so you won't get any errors until launching your browser. I 
also think the "target" folder 
("/home/esteban/plugTree/trunkTMP/drools-guvnor/<STRONG>target</STRONG>/drools-guvnor") 
is a GWT1.6 hang-over and wonder whether Guvnor is fully GWT2.x or a hybrid of 
bits and pieces that wouldn't help matters.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2>Not wanting to tread on toes.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2>With kind regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=147250209-14102010><FONT face=Arial 
color=#0000ff size=2>Mike</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> rules-dev-bounces@lists.jboss.org 
  [mailto:rules-dev-bounces@lists.jboss.org] <B>On Behalf Of 
  </B>esteban.aliverti@gmail.com<BR><B>Sent:</B> 14 October 2010 
  00:07<BR><B>To:</B> Rules Dev List<BR><B>Subject:</B> Re: [rules-dev] Guvnor 
  build changes summary<BR></FONT><BR></DIV>
  <DIV></DIV>Geoffrey, again, great work! 
  <DIV>But I have a question for you. I'm trying to run/debug guvnor without 
  eclipse.</DIV>
  <DIV>Thanks to your work, now I am able to execute <B>mvn gwt:compile</B> 
  without modify the pom.xml file! That is great.</DIV>
  <DIV>Then I run Guvnor doing:<B>&nbsp;mvn 
  -Dgwt.module=org.drools.guvnor.Guvnor 
  -DrunTarget=org.drools.guvnor.Guvnor/Guvnor.html gwt:debug</B></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Everything&nbsp;seams to look right. I get this output:</DIV>
  <DIV><BR></DIV>
  <DIV><I>Preparing gwt:debug</I></DIV>
  <DIV><I>[resources:resources]</I></DIV>
  <DIV><I>Using 'UTF-8' encoding to copy filtered resources.</I></DIV>
  <DIV><I>Copying 29 resources</I></DIV>
  <DIV><I>[compiler:compile]</I></DIV>
  <DIV><I>Nothing to compile - all classes are up to date</I></DIV>
  <DIV><I>[gwt:debug]</I></DIV>
  <DIV><I>starting debugger on port 8000 in suspend mode</I></DIV>
  <DIV><I>You're project declares dependency on gwt-user 2.0.4. This plugin is 
  designed for version 2.1-20101001.MGWT219</I></DIV>
  <DIV><I>create exploded Jetty webapp in 
  /home/esteban/plugTree/trunkTMP/drools-guvnor/target/drools-guvnor</I></DIV>
  <DIV><I>Your POM &lt;build&gt;&lt;outputdirectory&gt; does not match your 
  hosted webapp WEB-INF/classes folder for GWT Hosted browser to see your 
  classes.</I></DIV>
  <DIV><I>Listening for transport dt_socket at address: 8000</I></DIV>
  <DIV><BR></DIV>
  <DIV>Now, when I try to attach a debugger (in my case, using Netbeans), I get 
  the following behavior:</DIV>
  <DIV>
  <OL>
    <LI>The GWT Development Mode console appears 
    <LI>After a few seconds, the Startup URL appears in the combobox 
    <LI>At this point, I have some warnings in "Development Mode" and "Jetty" 
    tabs. (probably you are using tomcat, but should be the same) 
    <LI>When I try to enter Guvnor using firefox, a new tab appears in the GWT 
    Development Mode (which is the expected behavior), but a lot of errors 
    appear there. The errors are because the source code of ide.common packages 
    can't be found. &nbsp; </LI></OL>
  <DIV><BR></DIV>
  <DIV>I'm attaching a screenshot showing the error:</DIV>
  <DIV><BR></DIV>
  <DIV><IMG title=Screenshot.png alt=Screenshot.png 
  src="cid:147250209@14102010-330C"><BR></DIV>
  <DIV><BR></DIV>
  <DIV>The questions are: do you know how is eclipse running guvnor? Does it use 
  maven at all? Am I missing any argument when running gwt:debug goal?</DIV>
  <DIV><BR></DIV>
  <DIV>Best 
  Regards,</DIV><BR>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<BR><BR>Esteban 
  Aliverti<BR>- Developer @ <A href="http://www.plugtree.com" 
  target=_blank>http://www.plugtree.com </A><BR>- Blog @ <A 
  href="http://ilesteban.wordpress.com" 
  target=_blank>http://ilesteban.wordpress.com</A><BR><BR><BR>
  <DIV class=gmail_quote>On Sat, Oct 9, 2010 at 7:53 AM, Geoffrey De Smet <SPAN 
  dir=ltr>&lt;<A 
  href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</A>&gt;</SPAN> 
  wrote:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">No, 
    I no longer think we should "split up drools-guvnor into<BR>
    <DIV class=im>drools-guvnor-gwtclient and 
    drools-guvnor-server",<BR></DIV>not at least until GWT supports separate 
    client vs server classpaths better.<BR>I will still look into moving 
    factconstraints module guvnor part to<BR>guvnor (and the rest might be 
    movable to drools-core/compiler?)?<BR>
    <DIV class=im><BR>With kind regards,<BR>Geoffrey De Smet<BR><BR></DIV>Op 
    08-10-10 09:54, Anstis, Michael (M.) schreef:<BR>
    <DIV class=im>&gt; I'm not sure Geoffrey is planning on the split 
    anymore:<BR>&gt;&gt; &nbsp;I haven't split up drools-guvnor into 
    drools-guvnor-gwtclient and<BR>&gt;&gt; &nbsp;drools-guvnor-server, because 
    GWT simply doesn't really allow that (not<BR>&gt;&gt; &nbsp;without making 
    the solution worse than the problem at least...).<BR>&gt;<BR>&gt; &nbsp; 
    &nbsp; 
    ------------------------------------------------------------------------<BR>&gt; 
    &nbsp; &nbsp; *From:* <A 
    href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</A><BR>&gt; 
    &nbsp; &nbsp; [mailto:<A 
    href="mailto:rules-dev-bounces@lists.jboss.org">rules-dev-bounces@lists.jboss.org</A>] 
    *On Behalf Of *Michael Neale<BR>&gt; &nbsp; &nbsp; *Sent:* 08 October 2010 
    03:34<BR>&gt; &nbsp; &nbsp; *To:* Rules Dev List<BR>&gt; &nbsp; &nbsp; 
    *Subject:* Re: [rules-dev] Guvnor build changes summary<BR>&gt;<BR>&gt; 
    &nbsp; &nbsp; yes, that probably would make sense. Although, there would 
    have to<BR>&gt; &nbsp; &nbsp; be maybe a 3rd for the common code. Or else 
    the server module<BR>&gt; &nbsp; &nbsp; depends on the client 
    module?<BR>&gt;<BR>&gt; &nbsp; &nbsp; On Fri, Oct 8, 2010 at 12:51 PM, 
    Jervis Liu &lt;<A 
href="mailto:jliu@redhat.com">jliu@redhat.com</A><BR></DIV>
    <DIV>
    <DIV></DIV>
    <DIV class=h5>&gt; &nbsp; &nbsp; &lt;mailto:<A 
    href="mailto:jliu@redhat.com">jliu@redhat.com</A>&gt;&gt; 
    wrote:<BR>&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Good job, Geoffrey! BTW, 
    what is this about: "split up drools-guvnor<BR>&gt; &nbsp; &nbsp; &nbsp; 
    &nbsp; into drools-guvnor-gwtclient and drools-guvnor-server" 
    ?<BR>&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Thanks,<BR>&gt; &nbsp; &nbsp; 
    &nbsp; &nbsp; Jervis<BR>&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; Geoffrey De 
    Smet wrote:<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; Hi guys,<BR>&gt; 
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; 
    &nbsp;&gt; The Guvnor build has changed somewhat. Here's the 
    changes:<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; - "mvn clean 
    compile" now compiles the GWT java sources to<BR>&gt; &nbsp; &nbsp; &nbsp; 
    &nbsp; javascript<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; with the 
    gwt-maven-plugin.<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; -- So now, 
    to really clean build guvnor, you don't need to<BR>&gt; &nbsp; &nbsp; &nbsp; 
    &nbsp; run the ANT<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; script 
    separate no more<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; -- The maven 
    plugin is about 50% faster than the ANT script.<BR>&gt; &nbsp; &nbsp; &nbsp; 
    &nbsp; &nbsp;&gt; -- This makes the entire drools build slower (as it now 
    gwt<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; compiles<BR>&gt; &nbsp; &nbsp; 
    &nbsp; &nbsp; &nbsp;&gt; too), but I am looking into improving that (for 
    example in a<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; development<BR>&gt; &nbsp; 
    &nbsp; &nbsp; &nbsp; &nbsp;&gt; mode profile, we can only gwt compile to 
    english and firefox)<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; - The 
    generated GWT javascript files have been removed from<BR>&gt; &nbsp; &nbsp; 
    &nbsp; &nbsp; subversion<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; and 
    are now generated under the target/drools-guvnor directory<BR>&gt; &nbsp; 
    &nbsp; &nbsp; &nbsp; &nbsp;&gt; -- No more A43BF34D23567676DF.js files in 
    svn or tree<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; conflicts on those<BR>&gt; 
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; directories<BR>&gt; &nbsp; &nbsp; 
    &nbsp; &nbsp; &nbsp;&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; I 
    haven't split up drools-guvnor into drools-guvnor-gwtclient and<BR>&gt; 
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; drools-guvnor-server, because GWT 
    simply doesn't really allow<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; that 
    (not<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; without making the 
    solution worse than the problem at least...).<BR>&gt; &nbsp; &nbsp; &nbsp; 
    &nbsp; &nbsp;&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; If you feel 
    any rough edges, let me know and I 'll take a<BR>&gt; &nbsp; &nbsp; &nbsp; 
    &nbsp; look at it.<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt;<BR>&gt; 
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; I 'll remove the old ANT script soon, 
    once the maven<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; filtering for the<BR>&gt; 
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt; version and revision is in 
    place.<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt;<BR>&gt;<BR>&gt; &nbsp; 
    &nbsp; &nbsp; &nbsp; _______________________________________________<BR>&gt; 
    &nbsp; &nbsp; &nbsp; &nbsp; rules-dev mailing list<BR></DIV></DIV>&gt; 
    &nbsp; &nbsp; &nbsp; &nbsp; <A 
    href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A> 
    &lt;mailto:<A 
    href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A>&gt;<BR>
    <DIV class=im>&gt; &nbsp; &nbsp; &nbsp; &nbsp; <A 
    href="https://lists.jboss.org/mailman/listinfo/rules-dev" 
    target=_blank>https://lists.jboss.org/mailman/listinfo/rules-dev</A><BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; 
    &nbsp; &nbsp; --<BR>&gt; &nbsp; &nbsp; Michael D Neale<BR></DIV>&gt; &nbsp; 
    &nbsp; home: <A href="http://www.michaelneale.net" 
    target=_blank>www.michaelneale.net</A> &lt;<A 
    href="http://www.michaelneale.net" 
    target=_blank>http://www.michaelneale.net</A>&gt;<BR>&gt; &nbsp; &nbsp; 
    blog: <A href="http://michaelneale.blogspot.com" 
    target=_blank>michaelneale.blogspot.com</A> &lt;<A 
    href="http://michaelneale.blogspot.com" 
    target=_blank>http://michaelneale.blogspot.com</A>&gt;<BR>
    <DIV>
    <DIV></DIV>
    <DIV class=h5>&gt;<BR>&gt;<BR>&gt;<BR>&gt; 
    _______________________________________________<BR>&gt; rules-dev mailing 
    list<BR>&gt; <A 
    href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A><BR>&gt; 
    <A href="https://lists.jboss.org/mailman/listinfo/rules-dev" 
    target=_blank>https://lists.jboss.org/mailman/listinfo/rules-dev</A><BR><BR>_______________________________________________<BR>rules-dev 
    mailing list<BR><A 
    href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</A><BR><A 
    href="https://lists.jboss.org/mailman/listinfo/rules-dev" 
    target=_blank>https://lists.jboss.org/mailman/listinfo/rules-dev</A><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>