List Info

Thread: Building from source problem and an open stream problem




Building from source problem and an open stream problem
country flaguser name
United States
2007-08-29 21:26:01
I'm trying to track down a I/O stream that is not being
closed.  So I 
figured I would build from source and find the problem.  The
problem is 
that when I build from source, I'm having another problem.

I downloaded the drools-4.0.0-src.zip file and installed ant
1.7.0 and 
maven 2.0.7.  I run the mvn command to build and I'm getting
two failed 
tests:


    Results :

    Failed tests:
      testScanAndLoad(org.drools.agent.FileScannerTest)
     
testUpdateWithLocalCache(org.drools.agent.URLScannerTest)

    Tests run: 417, Failures: 2, Errors: 0, Skipped: 0

Any ideas why this would be failing?  Any way to bypass the
tests?

Thanks in advance for any help.

Brett
_______________________________________________
rules-dev mailing list
rules-devlists.jboss.org
ht
tps://lists.jboss.org/mailman/listinfo/rules-dev

Re: Building from source problem and an open stream problem
user name
2007-08-29 21:48:06
Hi I think there was an issue with the order of things on windows platforms - that was fixed with a patch for the latest (which effected those tests).

On 8/30/07, Brett Bergquist < brettthebergquistfamily.com">brettthebergquistfamily.com> wrote:
I'm trying to track down a I/O stream that is not being closed.&nbsp; So I
figured I would build from source and find the problem.&nbsp; The problem is
that when I build from source, I'm having another problem.

I downloaded the drools-4.0.0-src.zip file and installed ant 1.7.0 and
maven 2.0.7.&nbsp; I run the mvn command to build and I'm getting two failed
tests:


 ; &nbsp; Results :

 &nbsp;  Failed tests:
&nbsp; &nbsp; &nbsp; testScanAndLoad( org.drools.agent.FileScannerTest)
&nbsp; &nbsp; &nbsp; testUpdateWithLocalCache(org.drools.agent.URLScannerTest)

 &nbsp;  Tests run: 417, Failures: 2, Errors: 0, Skipped: 0

Any ideas why this would be failing?&nbsp; Any way to bypass the tests?

Thanks in advance for any help.

Brett
_______________________________________________
rules-dev mailing list
rules-devlists.jboss.org">rules-devlists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Re: Building from source problem and an open stream problem
user name
2007-08-29 21:48:47
As for bypassing the tests - you can do

-Dmaven.test.skip=true or just rename the test methods to not start with "test" ;) that always does the trick.

On 8/30/07, Michael Neale < michael.nealegmail.com">michael.nealegmail.com> wrote:
Hi I think there was an issue with the order of things on windows platforms - that was fixed with a patch for the latest (which effected those tests).


On 8/30/07, Brett Bergquist < brettthebergquistfamily.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">brettthebergquistfamily.com> wrote:
I'm trying to track down a I/O stream that is not being closed.&nbsp; So I
figured I would build from source and find the problem.&nbsp; The problem is
that when I build from source, I'm having another problem.

I downloaded the drools-4.0.0-src.zip file and installed ant 1.7.0 and
maven 2.0.7.&nbsp; I run the mvn command to build and I'm getting two failed
tests:


 ; &nbsp; Results :

 &nbsp;  Failed tests:
&nbsp; &nbsp; &nbsp; testScanAndLoad( org.drools.agent.FileScannerTest)
&nbsp; &nbsp; &nbsp; testUpdateWithLocalCache(org.drools.agent.URLScannerTest)

 &nbsp;  Tests run: 417, Failures: 2, Errors: 0, Skipped: 0

Any ideas why this would be failing?&nbsp; Any way to bypass the tests?

Thanks in advance for any help.

Brett
_______________________________________________
rules-dev mailing list
rules-devlists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> rules-devlists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


Re: Building from source problem and an open stream problem
country flaguser name
Belgium
2007-08-30 11:12:13
yep, fixed on trunk (2.0.1-SNAPSHOT)

With kind regards,
Geoffrey De Smet


Michael Neale wrote:
> Hi I think there was an issue with the order of things
on windows 
> platforms - that was fixed with a patch for the latest
(which effected 
> those tests).
> 
> On 8/30/07, * Brett Bergquist* <brettthebergquistfamily.com 
> <mailto:brettthebergquistfamily.com>> wrote:
> 
>     I'm trying to track down a I/O stream that is not
being closed.  So I
>     figured I would build from source and find the
problem.  The problem is
>     that when I build from source, I'm having another
problem.
> 
>     I downloaded the drools-4.0.0-src.zip file and
installed ant 1.7.0 and
>     maven 2.0.7.  I run the mvn command to build and
I'm getting two failed
>     tests:
> 
> 
>         Results :
> 
>         Failed tests:
>           testScanAndLoad(
org.drools.agent.FileScannerTest)
>          
testUpdateWithLocalCache(org.drools.agent.URLScannerTest)
> 
>         Tests run: 417, Failures: 2, Errors: 0,
Skipped: 0
> 
>     Any ideas why this would be failing?  Any way to
bypass the tests?
> 
>     Thanks in advance for any help.
> 
>     Brett
>     _______________________________________________
>     rules-dev mailing list
>     rules-devlists.jboss.org <mailto:rules-devlists.jboss.org>
>     ht
tps://lists.jboss.org/mailman/listinfo/rules-dev
> 
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> rules-dev mailing list
> rules-devlists.jboss.org
> ht
tps://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-devlists.jboss.org
ht
tps://lists.jboss.org/mailman/listinfo/rules-dev

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )