You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by Simone Tripodi <si...@apache.org> on 2012/06/26 14:32:34 UTC

Compilation issues

Hi all guys,

Lewis and I are chatting about different compilation issues and how to
have them fixed, just to repor mines:

this is my local copy of the code:

$ svn info
Path: .
URL: https://svn.apache.org/repos/asf/incubator/any23/trunk
Repository Root: https://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1353988
Node Kind: directory
Schedule: normal
Last Changed Author: lewismc
Last Changed Rev: 1353985
Last Changed Date: 2012-06-26 14:15:51 +0200 (Tue, 26 Jun 2012)

this is my Maven configuration

$ mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /Applications/apache-maven-3.0.4
Java version: 1.6.0_31, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"

this is the report I get after launched `mvn clean package`

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Any23 ...................................... SUCCESS [11.906s]
[INFO] Apache Any23 :: Core .............................. FAILURE [23.004s]
[INFO] Apache Any23 :: Plugins :: Basic Crawler .......... SKIPPED
[INFO] Apache Any23 :: Plugins :: HTML Scraper ........... SKIPPED
[INFO] Apache Any23 :: Plugins :: Office Scraper ......... SKIPPED
[INFO] Apache Any23 :: Plugins :: Integration Test ....... SKIPPED
[INFO] Apache Any23 :: Service ........................... SKIPPED
[INFO] Apache Any23 :: Sources distribution module ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.936s
[INFO] Finished at: Tue Jun 26 14:29:35 CEST 2012
[INFO] Final Memory: 19M/2039M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project any23-core: Compilation failure:
Compilation failure:
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[46,23]
package org.openrdf.sail does not exist
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[47,23]
cannot find symbol
[ERROR] symbol  : class SailException
[ERROR] location: package org.openrdf.sail
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[75,12]
cannot find symbol
[ERROR] symbol  : class Sail
[ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[86,52]
cannot find symbol
[ERROR] symbol  : class SailException
[ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[94,34]
cannot find symbol
[ERROR] symbol  : class SailException
[ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[46,23]
package org.openrdf.sail does not exist
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[47,23]
cannot find symbol
[ERROR] symbol  : class SailException
[ERROR] location: package org.openrdf.sail
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[75,12]
cannot find symbol
[ERROR] symbol  : class Sail
[ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[86,52]
cannot find symbol
[ERROR] symbol  : class SailException
[ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[94,34]
cannot find symbol
[ERROR] symbol  : class SailException
[ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[96,8]
cannot find symbol
[ERROR] symbol  : class Sail
[ERROR] location: class
org.apache.any23.extractor.html.AbstractExtractorTestCase
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[96,21]
cannot access org.openrdf.sail.helpers.NotifyingSailBase
[ERROR] class file for org.openrdf.sail.helpers.NotifyingSailBase not found
[ERROR] Sail store = new MemoryStore();
[ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/Any23Test.java:[617,8]
cannot find symbol
[ERROR] symbol  : class Sail
[ERROR] location: class org.apache.any23.Any23Test

Thoughts?

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

Re: Compilation issues

Posted by Simone Tripodi <si...@apache.org>.
Hi all,
Just to followup:

with a clean, empty repository:

`$ mvn -Dmaven.repo.local=/tmp/any23-repo clean install`

I can successfully compile the code but there are still tests
failures, see below...

Maybe we should increase the timeout response?
TIA,
-Simo

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Tests in error:
  testDemoCodeSnippet2(org.apache.any23.Any23Test): Read timed out

Tests run: 465, Failures: 0, Errors: 1, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Any23 ...................................... SUCCESS [20.952s]
[INFO] Apache Any23 :: Core .............................. FAILURE [1:53.306s]
[INFO] Apache Any23 :: Plugins :: Basic Crawler .......... SKIPPED
[INFO] Apache Any23 :: Plugins :: HTML Scraper ........... SKIPPED
[INFO] Apache Any23 :: Plugins :: Office Scraper ......... SKIPPED
[INFO] Apache Any23 :: Plugins :: Integration Test ....... SKIPPED
[INFO] Apache Any23 :: Service ........................... SKIPPED
[INFO] Apache Any23 :: Sources distribution module ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:17.326s
[INFO] Finished at: Thu Jun 28 10:57:12 CEST 2012
[INFO] Final Memory: 22M/2039M
[INFO] ------------------------------------------------------------------------


http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/


On Thu, Jun 28, 2012 at 10:46 AM, Michele Mostarda
<mi...@gmail.com> wrote:
> This is another stuff. Any23 relies on some online resources to perform
> more sophisticated tests.
> In this case the CrawlerTest is trying to crawl 10 pages from a site
> containing RDF content and
> in the end assert that the quantity of extracted triples is compliant to an
> expected one.
>
> If the target site is congested the test could fail. Nothing strange.
> I will double check that anything changed in the target site.
>
> Mic
>
> On 27 June 2012 22:13, Lewis John Mcgibbney <le...@gmail.com>wrote:
>
>> OK so when I completely delete everything in my entire ~/m2 cache and
>> run mvn clean package I get
>>
>> ------------------------------------------------------------------------
>> Apache Any23 :: crawler
>> ------------------------------------------------------------------------
>>
>> Deleting content of:
>> /tmp/crawler-metadata-c2788d22-6db7-4312-b9d8-f54849057c41/frontier
>>  INFO [pool-1-thread-1] Crawler 1 started.
>>  INFO [pool-1-thread-1] Crawler 2 started.
>>  INFO [pool-1-thread-1] Crawler 3 started.
>>  INFO [pool-1-thread-1] Crawler 4 started.
>>  INFO [pool-1-thread-1] Crawler 5 started.
>>  INFO [pool-1-thread-1] Crawler 6 started.
>>  INFO [pool-1-thread-1] Crawler 7 started.
>>  INFO [pool-1-thread-1] Crawler 8 started.
>>  INFO [pool-1-thread-1] Crawler 9 started.
>>  INFO [pool-1-thread-1] Crawler 10 started.
>> Processing page: [http://eventiesagre.it/]
>> Processing page:
>> [
>> http://eventiesagre.it/Eventi_Feste/21039505_Le+Giornate+Di+San+Paolino.html
>> ]
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.589
>> sec <<< FAILURE!
>> Total Documents: 0, Total Triples: 0
>>
>> The package target fails here, the stack trace from the failed test is
>> as follows
>>
>>
>> -------------------------------------------------------------------------------
>> Test set: org.apache.any23.cli.CrawlerTest
>>
>> -------------------------------------------------------------------------------
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.59
>> sec <<< FAILURE!
>> testCLI(org.apache.any23.cli.CrawlerTest)  Time elapsed: 10.266 sec
>> <<< FAILURE!
>> java.lang.AssertionError
>>        at org.junit.Assert.fail(Assert.java:92)
>>        at org.junit.Assert.assertTrue(Assert.java:43)
>>        at org.junit.Assert.assertTrue(Assert.java:54)
>>        at org.apache.any23.cli.CrawlerTest.testCLI(CrawlerTest.java:93)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>>        at
>> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>>        at
>> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>>        at
>> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>>        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>>        at
>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
>>        at
>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
>>        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>>        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>>        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>>        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>>        at
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
>>        at
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
>>        at
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>> On Wed, Jun 27, 2012 at 9:45 AM, Michele Mostarda
>> <mi...@gmail.com> wrote:
>>
>> I'm pretty much stumped on this one...
>>
>> Lewis
>>
>
>
>
> --
> Michele Mostarda
> Senior Software Engineer
> skype: michele.mostarda
> twitter: micmos
> mail: me@michelemostarda.com
> site : http://www.michelemostarda.com

Re: Compilation issues

Posted by Michele Mostarda <mi...@gmail.com>.
This is another stuff. Any23 relies on some online resources to perform
more sophisticated tests.
In this case the CrawlerTest is trying to crawl 10 pages from a site
containing RDF content and
in the end assert that the quantity of extracted triples is compliant to an
expected one.

If the target site is congested the test could fail. Nothing strange.
I will double check that anything changed in the target site.

Mic

On 27 June 2012 22:13, Lewis John Mcgibbney <le...@gmail.com>wrote:

> OK so when I completely delete everything in my entire ~/m2 cache and
> run mvn clean package I get
>
> ------------------------------------------------------------------------
> Apache Any23 :: crawler
> ------------------------------------------------------------------------
>
> Deleting content of:
> /tmp/crawler-metadata-c2788d22-6db7-4312-b9d8-f54849057c41/frontier
>  INFO [pool-1-thread-1] Crawler 1 started.
>  INFO [pool-1-thread-1] Crawler 2 started.
>  INFO [pool-1-thread-1] Crawler 3 started.
>  INFO [pool-1-thread-1] Crawler 4 started.
>  INFO [pool-1-thread-1] Crawler 5 started.
>  INFO [pool-1-thread-1] Crawler 6 started.
>  INFO [pool-1-thread-1] Crawler 7 started.
>  INFO [pool-1-thread-1] Crawler 8 started.
>  INFO [pool-1-thread-1] Crawler 9 started.
>  INFO [pool-1-thread-1] Crawler 10 started.
> Processing page: [http://eventiesagre.it/]
> Processing page:
> [
> http://eventiesagre.it/Eventi_Feste/21039505_Le+Giornate+Di+San+Paolino.html
> ]
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.589
> sec <<< FAILURE!
> Total Documents: 0, Total Triples: 0
>
> The package target fails here, the stack trace from the failed test is
> as follows
>
>
> -------------------------------------------------------------------------------
> Test set: org.apache.any23.cli.CrawlerTest
>
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.59
> sec <<< FAILURE!
> testCLI(org.apache.any23.cli.CrawlerTest)  Time elapsed: 10.266 sec
> <<< FAILURE!
> java.lang.AssertionError
>        at org.junit.Assert.fail(Assert.java:92)
>        at org.junit.Assert.assertTrue(Assert.java:43)
>        at org.junit.Assert.assertTrue(Assert.java:54)
>        at org.apache.any23.cli.CrawlerTest.testCLI(CrawlerTest.java:93)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>        at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>        at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>        at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
>        at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
>        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>        at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
>        at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
>        at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> On Wed, Jun 27, 2012 at 9:45 AM, Michele Mostarda
> <mi...@gmail.com> wrote:
>
> I'm pretty much stumped on this one...
>
> Lewis
>



-- 
Michele Mostarda
Senior Software Engineer
skype: michele.mostarda
twitter: micmos
mail: me@michelemostarda.com
site : http://www.michelemostarda.com

Re: Compilation issues

Posted by Lewis John Mcgibbney <le...@gmail.com>.
OK so when I completely delete everything in my entire ~/m2 cache and
run mvn clean package I get

------------------------------------------------------------------------
Apache Any23 :: crawler
------------------------------------------------------------------------

Deleting content of:
/tmp/crawler-metadata-c2788d22-6db7-4312-b9d8-f54849057c41/frontier
 INFO [pool-1-thread-1] Crawler 1 started.
 INFO [pool-1-thread-1] Crawler 2 started.
 INFO [pool-1-thread-1] Crawler 3 started.
 INFO [pool-1-thread-1] Crawler 4 started.
 INFO [pool-1-thread-1] Crawler 5 started.
 INFO [pool-1-thread-1] Crawler 6 started.
 INFO [pool-1-thread-1] Crawler 7 started.
 INFO [pool-1-thread-1] Crawler 8 started.
 INFO [pool-1-thread-1] Crawler 9 started.
 INFO [pool-1-thread-1] Crawler 10 started.
Processing page: [http://eventiesagre.it/]
Processing page:
[http://eventiesagre.it/Eventi_Feste/21039505_Le+Giornate+Di+San+Paolino.html]
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.589
sec <<< FAILURE!
Total Documents: 0, Total Triples: 0

The package target fails here, the stack trace from the failed test is
as follows

-------------------------------------------------------------------------------
Test set: org.apache.any23.cli.CrawlerTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.59
sec <<< FAILURE!
testCLI(org.apache.any23.cli.CrawlerTest)  Time elapsed: 10.266 sec
<<< FAILURE!
java.lang.AssertionError
        at org.junit.Assert.fail(Assert.java:92)
        at org.junit.Assert.assertTrue(Assert.java:43)
        at org.junit.Assert.assertTrue(Assert.java:54)
        at org.apache.any23.cli.CrawlerTest.testCLI(CrawlerTest.java:93)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

On Wed, Jun 27, 2012 at 9:45 AM, Michele Mostarda
<mi...@gmail.com> wrote:

I'm pretty much stumped on this one...

Lewis

Re: Compilation issues

Posted by Michele Mostarda <mi...@gmail.com>.
I didn't replicate the issue:

I performed:

    trunk$ svn up && mvn clean package

obtaining a success.
I think it is a cache issue in Maven repo.

The best.
Mic

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Any23 ...................................... SUCCESS [2.440s]
[INFO] Apache Any23 :: Core .............................. SUCCESS [45.263s]
[INFO] Apache Any23 :: Plugins :: Basic Crawler .......... SUCCESS [34.488s]
[INFO] Apache Any23 :: Plugins :: HTML Scraper ........... SUCCESS [3.797s]
[INFO] Apache Any23 :: Plugins :: Office Scraper ......... SUCCESS [5.548s]
[INFO] Apache Any23 :: Plugins :: Integration Test ....... SUCCESS [1.580s]
[INFO] Apache Any23 :: Service ........................... SUCCESS [21.688s]
[INFO] Apache Any23 :: Sources distribution module ....... SUCCESS [0.689s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:56.198s
[INFO] Finished at: Wed Jun 27 10:32:18 CEST 2012
[INFO] Final Memory: 95M/572M
[INFO]
------------------------------------------------------------------------



On 26 June 2012 20:46, Lewis John Mcgibbney <le...@gmail.com>wrote:

> Hi Simo,
>
> I'm going to clean out my local ~/.m2 cache and package from scrath as
> the basic-crawler stuff should not be failing as far as I can see. Our
> builds have stabalised so it doesn't make sense that I'm still getting
> problems with the tests.
>
> I'll update this thread when I'm in a position to comment further.
>
> Thanks
>
> Lewis
>
> On Tue, Jun 26, 2012 at 1:32 PM, Simone Tripodi
> <si...@apache.org> wrote:
> > Hi all guys,
> >
> > Lewis and I are chatting about different compilation issues and how to
> > have them fixed, just to repor mines:
> >
> > this is my local copy of the code:
> >
> > $ svn info
> > Path: .
> > URL: https://svn.apache.org/repos/asf/incubator/any23/trunk
> > Repository Root: https://svn.apache.org/repos/asf
> > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> > Revision: 1353988
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: lewismc
> > Last Changed Rev: 1353985
> > Last Changed Date: 2012-06-26 14:15:51 +0200 (Tue, 26 Jun 2012)
> >
> > this is my Maven configuration
> >
> > $ mvn --version
> > Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> > Maven home: /Applications/apache-maven-3.0.4
> > Java version: 1.6.0_31, vendor: Apple Inc.
> > Java home:
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> > Default locale: en_US, platform encoding: MacRoman
> > OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"
> >
> > this is the report I get after launched `mvn clean package`
> >
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Any23 ...................................... SUCCESS
> [11.906s]
> > [INFO] Apache Any23 :: Core .............................. FAILURE
> [23.004s]
> > [INFO] Apache Any23 :: Plugins :: Basic Crawler .......... SKIPPED
> > [INFO] Apache Any23 :: Plugins :: HTML Scraper ........... SKIPPED
> > [INFO] Apache Any23 :: Plugins :: Office Scraper ......... SKIPPED
> > [INFO] Apache Any23 :: Plugins :: Integration Test ....... SKIPPED
> > [INFO] Apache Any23 :: Service ........................... SKIPPED
> > [INFO] Apache Any23 :: Sources distribution module ....... SKIPPED
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Total time: 35.936s
> > [INFO] Finished at: Tue Jun 26 14:29:35 CEST 2012
> > [INFO] Final Memory: 19M/2039M
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> > (default-testCompile) on project any23-core: Compilation failure:
> > Compilation failure:
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[46,23]
> > package org.openrdf.sail does not exist
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[47,23]
> > cannot find symbol
> > [ERROR] symbol  : class SailException
> > [ERROR] location: package org.openrdf.sail
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[75,12]
> > cannot find symbol
> > [ERROR] symbol  : class Sail
> > [ERROR] location: class
> org.apache.any23.extractor.SingleDocumentExtractionTest
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[86,52]
> > cannot find symbol
> > [ERROR] symbol  : class SailException
> > [ERROR] location: class
> org.apache.any23.extractor.SingleDocumentExtractionTest
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[94,34]
> > cannot find symbol
> > [ERROR] symbol  : class SailException
> > [ERROR] location: class
> org.apache.any23.extractor.SingleDocumentExtractionTest
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[46,23]
> > package org.openrdf.sail does not exist
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[47,23]
> > cannot find symbol
> > [ERROR] symbol  : class SailException
> > [ERROR] location: package org.openrdf.sail
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[75,12]
> > cannot find symbol
> > [ERROR] symbol  : class Sail
> > [ERROR] location: class
> org.apache.any23.extractor.SingleDocumentExtractionTest
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[86,52]
> > cannot find symbol
> > [ERROR] symbol  : class SailException
> > [ERROR] location: class
> org.apache.any23.extractor.SingleDocumentExtractionTest
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[94,34]
> > cannot find symbol
> > [ERROR] symbol  : class SailException
> > [ERROR] location: class
> org.apache.any23.extractor.SingleDocumentExtractionTest
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[96,8]
> > cannot find symbol
> > [ERROR] symbol  : class Sail
> > [ERROR] location: class
> > org.apache.any23.extractor.html.AbstractExtractorTestCase
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[96,21]
> > cannot access org.openrdf.sail.helpers.NotifyingSailBase
> > [ERROR] class file for org.openrdf.sail.helpers.NotifyingSailBase not
> found
> > [ERROR] Sail store = new MemoryStore();
> > [ERROR]
> /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/Any23Test.java:[617,8]
> > cannot find symbol
> > [ERROR] symbol  : class Sail
> > [ERROR] location: class org.apache.any23.Any23Test
> >
> > Thoughts?
> >
> > http://people.apache.org/~simonetripodi/
> > http://simonetripodi.livejournal.com/
> > http://twitter.com/simonetripodi
> > http://www.99soft.org/
>
>
>
> --
> Lewis
>



-- 
Michele Mostarda
Senior Software Engineer
skype: michele.mostarda
twitter: micmos
mail: me@michelemostarda.com
site : http://www.michelemostarda.com

Re: Compilation issues

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Simo,

I'm going to clean out my local ~/.m2 cache and package from scrath as
the basic-crawler stuff should not be failing as far as I can see. Our
builds have stabalised so it doesn't make sense that I'm still getting
problems with the tests.

I'll update this thread when I'm in a position to comment further.

Thanks

Lewis

On Tue, Jun 26, 2012 at 1:32 PM, Simone Tripodi
<si...@apache.org> wrote:
> Hi all guys,
>
> Lewis and I are chatting about different compilation issues and how to
> have them fixed, just to repor mines:
>
> this is my local copy of the code:
>
> $ svn info
> Path: .
> URL: https://svn.apache.org/repos/asf/incubator/any23/trunk
> Repository Root: https://svn.apache.org/repos/asf
> Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
> Revision: 1353988
> Node Kind: directory
> Schedule: normal
> Last Changed Author: lewismc
> Last Changed Rev: 1353985
> Last Changed Date: 2012-06-26 14:15:51 +0200 (Tue, 26 Jun 2012)
>
> this is my Maven configuration
>
> $ mvn --version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /Applications/apache-maven-3.0.4
> Java version: 1.6.0_31, vendor: Apple Inc.
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x", version: "10.7.4", arch: "x86_64", family: "mac"
>
> this is the report I get after launched `mvn clean package`
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Any23 ...................................... SUCCESS [11.906s]
> [INFO] Apache Any23 :: Core .............................. FAILURE [23.004s]
> [INFO] Apache Any23 :: Plugins :: Basic Crawler .......... SKIPPED
> [INFO] Apache Any23 :: Plugins :: HTML Scraper ........... SKIPPED
> [INFO] Apache Any23 :: Plugins :: Office Scraper ......... SKIPPED
> [INFO] Apache Any23 :: Plugins :: Integration Test ....... SKIPPED
> [INFO] Apache Any23 :: Service ........................... SKIPPED
> [INFO] Apache Any23 :: Sources distribution module ....... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 35.936s
> [INFO] Finished at: Tue Jun 26 14:29:35 CEST 2012
> [INFO] Final Memory: 19M/2039M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) on project any23-core: Compilation failure:
> Compilation failure:
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[46,23]
> package org.openrdf.sail does not exist
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[47,23]
> cannot find symbol
> [ERROR] symbol  : class SailException
> [ERROR] location: package org.openrdf.sail
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[75,12]
> cannot find symbol
> [ERROR] symbol  : class Sail
> [ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[86,52]
> cannot find symbol
> [ERROR] symbol  : class SailException
> [ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[94,34]
> cannot find symbol
> [ERROR] symbol  : class SailException
> [ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[46,23]
> package org.openrdf.sail does not exist
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[47,23]
> cannot find symbol
> [ERROR] symbol  : class SailException
> [ERROR] location: package org.openrdf.sail
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[75,12]
> cannot find symbol
> [ERROR] symbol  : class Sail
> [ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[86,52]
> cannot find symbol
> [ERROR] symbol  : class SailException
> [ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/SingleDocumentExtractionTest.java:[94,34]
> cannot find symbol
> [ERROR] symbol  : class SailException
> [ERROR] location: class org.apache.any23.extractor.SingleDocumentExtractionTest
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[96,8]
> cannot find symbol
> [ERROR] symbol  : class Sail
> [ERROR] location: class
> org.apache.any23.extractor.html.AbstractExtractorTestCase
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/extractor/html/AbstractExtractorTestCase.java:[96,21]
> cannot access org.openrdf.sail.helpers.NotifyingSailBase
> [ERROR] class file for org.openrdf.sail.helpers.NotifyingSailBase not found
> [ERROR] Sail store = new MemoryStore();
> [ERROR] /Users/simonetripodi/Documents/workspace/any23/core/src/test/java/org/apache/any23/Any23Test.java:[617,8]
> cannot find symbol
> [ERROR] symbol  : class Sail
> [ERROR] location: class org.apache.any23.Any23Test
>
> Thoughts?
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/



-- 
Lewis