Geoffrey De Smet | 1 Nov 2006 10:46
Picon
Gravatar

pom.xml's in the trunk

Are you guys using maven2 or ant for building the trunk?

I noticed the pom.xml's are "3.0.2" instead of "3.1.0-SNAPSHOT", so I am 
fear the dependency versions will be out of date too?

Also, I noticed you didn't lock down the maven plugin versions, which 
can lead to instable maven2 builds. I do that like this in the parent pom:

     <build>
         <pluginManagement>
             <plugins>
                 <!--
                     Last time synchronized with the latest plugin releases:
                     2006-06-21
                     See 
http://news.gmane.org/gmane.comp.apache.maven.announce
                 -->

                 <!-- Building -->
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-help-plugin</artifactId>
                     <version>2.0.1</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-clean-plugin</artifactId>
                     <version>2.1</version>
                 </plugin>
                 <plugin>
(Continue reading)

Mark Proctor | 1 Nov 2006 11:33

Re: pom.xml's in the trunk

We use pom's for dependency management, but actually build wtih ant 
(which can use maven), we just haven't updated the pom as our day to day 
work is done in eclipse - where it doesn't matter as much.

Mark
Geoffrey De Smet wrote:
> Are you guys using maven2 or ant for building the trunk?
>
> I noticed the pom.xml's are "3.0.2" instead of "3.1.0-SNAPSHOT", so I 
> am fear the dependency versions will be out of date too?
>
> Also, I noticed you didn't lock down the maven plugin versions, which 
> can lead to instable maven2 builds. I do that like this in the parent 
> pom:
>
>     <build>
>         <pluginManagement>
>             <plugins>
>                 <!--
>                     Last time synchronized with the latest plugin 
> releases:
>                     2006-06-21
>                     See 
> http://news.gmane.org/gmane.comp.apache.maven.announce
>                 -->
>
>                 <!-- Building -->
>                 <plugin>
>                     <groupId>org.apache.maven.plugins</groupId>
>                     <artifactId>maven-help-plugin</artifactId>
(Continue reading)

Geoffrey De Smet | 1 Nov 2006 14:01
Picon
Gravatar

Re: pom.xml's in the trunk

If you're interested in applying them, I could create some JIRA patches 
to improve your current pom.xml's.

I've maven2ized http://spring-rich-c.sf.net , http://networktools.sf.net 
and several other projects.

With kind regards,
Geoffrey De Smet

Mark Proctor wrote:
> We use pom's for dependency management, but actually build wtih ant 
> (which can use maven), we just haven't updated the pom as our day to day 
> work is done in eclipse - where it doesn't matter as much.
> 
> Mark
> Geoffrey De Smet wrote:
>> Are you guys using maven2 or ant for building the trunk?
>>
>> I noticed the pom.xml's are "3.0.2" instead of "3.1.0-SNAPSHOT", so I 
>> am fear the dependency versions will be out of date too?
>>
>> Also, I noticed you didn't lock down the maven plugin versions, which 
>> can lead to instable maven2 builds. I do that like this in the parent 
>> pom:
>>
>>     <build>
>>         <pluginManagement>
>>             <plugins>
>>                 <!--
>>                     Last time synchronized with the latest plugin 
(Continue reading)

Geoffrey De Smet | 1 Nov 2006 17:14
Picon
Gravatar

A few problems compiling the trunk

1) Unused, broken import in:
drools-compiler\src\main\java\org\drools\semantics\java\StaticMethodFunctionResolver.java

import antlr.collections.AST; // unused and breaks compiling because it 
no longer exists

2) http://jira.jboss.com/jira/browse/JBRULES-537

3) Drools-compiler depends on Jess.
Since Jess isn't open source, it cannot be distributed,
which means that drools-compiler can't be fully build?
Maybe the benchmarks should be moved to a separate module which isn't 
included in the default module set?

4) I've also found a bug on the QueryResults on the 3.0.x branch, which 
I 'll verify in the trunk (if I can get it to build ;) and create a 
testcase for.
[Apparently doing the same query twice and using A and exist(anotherA 
with a greater id) gives problems. In 3.0.4 with logical retractions it 
works. But anyway, I 'll create a testcase.]

--

-- 
With kind regards,
Geoffrey De Smet

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

(Continue reading)

Mark Proctor | 2 Nov 2006 00:29

JBRULES-310 and primitives

Edson,

With the latest primitives support is this jira  now obsolete?
http://jira.jboss.com/jira/browse/JBRULES-310

If so, can you close as "won't fix".

Mark

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Mark Proctor | 2 Nov 2006 02:18

Re: A few problems compiling the trunk

Geoffrey,

After the last few weeks manic performance work, where we broke 
everything, we are now just in the process on getting trunk working 
again and pushing out a milestone release.

1)  (Fixed)

2) See comment in jira

3) Damn didn't mean to commit that eclipse project, it was just 
something I was messing around with locally - sorry. (Fixed)

4)  Will  look into this  soon.

Thanks for this, it really  helps keep us on our toes  and move  the 
project forward. With regards to the build  system, more than happy for  
you to start maintaing that for us :) We use  the pom's for dependency 
management but ant for  actual building as I just had too many issues 
trying to get maven  working the way we wanted.  I figured if we are 
going to move to  maven 100% we need to invest in writing  our own 
plugins, which I don't have time for now. I actually think our current 
ant build, with "usage help instructions" is quite a nice  system. If 
you are planning to stick around and want commit rights, just ask.

Mark
Geoffrey De Smet wrote:
> 1) Unused, broken import in:
> drools-compiler\src\main\java\org\drools\semantics\java\StaticMethodFunctionResolver.java 
>
(Continue reading)

Geoffrey De Smet | 2 Nov 2006 11:05
Picon
Gravatar

Re: A few problems compiling the trunk

Thanks Mark

The issue for 4) is:
http://jira.jboss.com/jira/browse/JBRULES-539

The trunk now builds (I still had to fix 1) though),
but a good number of testcases failed (due to the important refactoring 
issupose), so I 'll stick with the branch for now for my program.
Once the trunk stabilizes again, I 'll be happy to test it out.

Thanks again.

With kind regards,
Geoffrey De Smet

Mark Proctor wrote:
> Geoffrey,
> 
> After the last few weeks manic performance work, where we broke 
> everything, we are now just in the process on getting trunk working 
> again and pushing out a milestone release.
> 
> 1)  (Fixed)
> 
> 2) See comment in jira
> 
> 3) Damn didn't mean to commit that eclipse project, it was just 
> something I was messing around with locally - sorry. (Fixed)
> 
> 4)  Will  look into this  soon.
(Continue reading)

Michael Neale | 2 Nov 2006 13:06
Picon
Gravatar

Repository storage/mapping of DSLs and rule files - a design discussion.

Hi all.

Working on package storage in the repository, and how it relates to rules etc.

Basically, in the repo, we have packages which contain rules (rule sharing will be done by references - but forget that for now). A rule belongs to one physical package.
At the package level we have assets like we do now like funcitons, and things like imports, globals  etc etc etc...

We are planning on making it so that a package configuration can be synced with an external repository - normally that means 1 rule == 1 file, 1 package == 1 directory containing many rule files (the idea being you can edit/debug in your IDE of choice).

My question is regarding DSLs: at the moment we tend to do DSLs on a per package basis: however, in the real world, I see a mix of DSL and normal rules being needed to solve problems.
a. So should we allow 1 rule in a package (which is 1 file) to use a DSL, and another one NOT use a DSL?
b. Should there be only one DSL file per package? or multiple ones?
c. If a above, should the IDE be changed to pick up the default DSL file (ie the dsl file in the directory)
d. If not a above, that means that rules need to be in different packages if they do/don't want to use a DSL - is that a problem?
e. Should DSL rules use a different file extension so the IDE can treat them differently?

Kris? opinions?

Michael.

Michael Neale | 2 Nov 2006 13:07
Picon
Gravatar

Re: JBRULES-310 and primitives

I think it is actually a fix. For a while, we have been able to use Java 5 autoboxing (I used it just the other day with some rules) and it works fine.

What edson is done goes beyond I think, and actually fixes this issue.

On 11/1/06, Mark Proctor <mproctor <at> codehaus.org> wrote:
Edson,

With the latest primitives support is this jira  now obsolete?
http://jira.jboss.com/jira/browse/JBRULES-310

If so, can you close as "won't fix".

Mark

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Michael Neale | 2 Nov 2006 13:16
Picon
Gravatar

Re: Re: pom.xml's in the trunk

please, do, patch away !


On 11/1/06, Geoffrey De Smet <ge0ffrey.spam <at> gmail.com> wrote:
If you're interested in applying them, I could create some JIRA patches
to improve your current pom.xml's.

I've maven2ized http://spring-rich-c.sf.net , http://networktools.sf.net
and several other projects.

With kind regards,
Geoffrey De Smet


Mark Proctor wrote:
> We use pom's for dependency management, but actually build wtih ant
> (which can use maven), we just haven't updated the pom as our day to day
> work is done in eclipse - where it doesn't matter as much.
>
> Mark
> Geoffrey De Smet wrote:
>> Are you guys using maven2 or ant for building the trunk?
>>
>> I noticed the pom.xml's are "3.0.2" instead of "3.1.0-SNAPSHOT", so I
>> am fear the dependency versions will be out of date too?
>>
>> Also, I noticed you didn't lock down the maven plugin versions, which
>> can lead to instable maven2 builds. I do that like this in the parent
>> pom:
>>
>>     <build>
>>         <pluginManagement>
>>             <plugins>
>>                 <!--
>>                     Last time synchronized with the latest plugin
>> releases:
>>                     2006-06-21
>>                     See
>> http://news.gmane.org/gmane.comp.apache.maven.announce
>>                 -->
>>
>>                 <!-- Building -->
>>                 <plugin>
>>                     <groupId>org.apache.maven.plugins</groupId>
>>                     <artifactId>maven-help-plugin</artifactId>
>>                     <version>2.0.1</version>
>>                 </plugin>
>>                 <plugin>
>>                     <groupId>org.apache.maven.plugins </groupId>
>>                     <artifactId>maven-clean-plugin</artifactId>
>>                     <version>2.1</version>
>>                 </plugin>
>>                 <plugin>
>>                     <groupId>org.apache.maven.plugins</groupId>
>>                     <artifactId>maven-resources-plugin</artifactId>
>>                     <version> 2.2</version>
>>                 </plugin>
>> ...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email



Gmane