You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ca...@apache.org on 2011/09/23 16:08:25 UTC

svn commit: r1174787 - in /incubator/jena/Jena2/LARQ/trunk: .classpath .project

Author: castagna
Date: Fri Sep 23 14:08:25 2011
New Revision: 1174787

URL: http://svn.apache.org/viewvc?rev=1174787&view=rev
Log: (empty)

Modified:
    incubator/jena/Jena2/LARQ/trunk/.classpath
    incubator/jena/Jena2/LARQ/trunk/.project

Modified: incubator/jena/Jena2/LARQ/trunk/.classpath
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/LARQ/trunk/.classpath?rev=1174787&r1=1174786&r2=1174787&view=diff
==============================================================================
--- incubator/jena/Jena2/LARQ/trunk/.classpath (original)
+++ incubator/jena/Jena2/LARQ/trunk/.classpath Fri Sep 23 14:08:25 2011
@@ -11,11 +11,7 @@
   <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar" sourcepath="M2_REPO/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.jar" sourcepath="M2_REPO/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar" sourcepath="M2_REPO/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar">
-    <attributes>
-      <attribute value="jar:file:/home/castagna/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-javadoc.jar!/" name="javadoc_location"/>
-    </attributes>
-  </classpathentry>
+  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4.jar" sourcepath="M2_REPO/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/junit/junit/4.8.2/junit-4.8.2.jar" sourcepath="M2_REPO/junit/junit/4.8.2/junit-4.8.2-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16.jar" sourcepath="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16-sources.jar"/>
@@ -27,4 +23,4 @@
   <classpathentry kind="var" path="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9.jar" sourcepath="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar"/>
   <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-</classpath>
\ No newline at end of file
+</classpath>

Modified: incubator/jena/Jena2/LARQ/trunk/.project
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/LARQ/trunk/.project?rev=1174787&r1=1174786&r2=1174787&view=diff
==============================================================================
--- incubator/jena/Jena2/LARQ/trunk/.project (original)
+++ incubator/jena/Jena2/LARQ/trunk/.project Fri Sep 23 14:08:25 2011
@@ -1,6 +1,6 @@
 <projectDescription>
   <name>larq</name>
-  <comment>LARQ - Free Text Indexing for SPARQL. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
+  <comment>LARQ - Free Text Indexing for SPARQL.</comment>
   <projects/>
   <buildSpec>
     <buildCommand>
@@ -10,4 +10,4 @@
   <natures>
     <nature>org.eclipse.jdt.core.javanature</nature>
   </natures>
-</projectDescription>
\ No newline at end of file
+</projectDescription>



Re: svn commit: r1174787 - in /incubator/jena/Jena2/LARQ/trunk: .classpath .project

Posted by Paolo Castagna <ca...@googlemail.com>.

Thorsten Möller wrote:
> Am 23.09.2011 um 17:10 schrieb Paolo Castagna:
> 
>> Hi Thorsten
>>
>> Thorsten Möller wrote:
>>> Am 23.09.2011 um 16:18 schrieb Paolo Castagna:
>>>
>>>>> -  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar">
>>>>> -    <attributes>
>>>>> -      <attribute value="jar:file:/home/castagna/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-javadoc.jar!/" name="javadoc_location"/>
>>>>> -    </attributes>
>>>>> -  </classpathentry>
>>>> If someone knows how to avoid that (i.e. absolute paths in the .classpath file) I'd love to find out.
>>> Well, there is almost no need to attach the javadoc jar if the source jar is attached these days. Since you use Eclipse, Eclipse provides on-the-fly rendering JavaDoc like views from the sources. Try Eclipse' Javadoc view; similar for tooltips. 
>> Yes. I agree.
>>
>>> You might also want to turn off this for the Eclipse Maven plugin [1].
>> Yep.
>>
>> We have this in the LARQ's pom.xml [1] file, for example:
>>
>>      <plugin>
>>        <groupId>org.apache.maven.plugins</groupId>
>>        <artifactId>maven-eclipse-plugin</artifactId>
>>        <version>2.8</version>
>>        <configuration>
>>          <buildOutputDirectory>${project.build.directory}/classes-eclipse</buildOutputDirectory>
>>          <downloadSources>true</downloadSources>
>>          <downloadJavadocs>false</downloadJavadocs>
>>          <useProjectReferences>false</useProjectReferences>
>>        </configuration>
>>      </plugin>
>>
>> However, if the javadoc jar is in your local Maven cache, it will appear in your
>> .classpath every time you type mvn eclipse:eclipse.
>>
>> Do you know how I can avoid that?
> 
> The radical way of solving it...
> 
> cd ~/.m2
> rm -rf *-javadoc.jar
> 
> mvn eclipse:clean
> mvn eclipse:eclipse
> 
> 
> ... uff ;-)

Well, yeah... thanks! :-)

The problem is that you just need another project without the
<downloadJavadocs>false</downloadJavadocs> setting to re-populate
your Maven cache with *-javadoc.jar and you are again with absolute
paths in your .classpath files.

In any case, thanks for sharing your "radical" solution (which
is what I've been doing... until the above appens).

Anyway, not a big deal (everything still works, even with a non
existing path for a javadoc_location in the .classpath file).
And we have much more important things to improve/fix towards
making the first Apache Jena release.

Thanks.

Paolo

> 
> 
> Thorsten
> 
> 
> 
> 
>> Paolo
>>
>> [1] https://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/pom.xml
>>
>>> Thorsten
>>>
>>> [1] http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#downloadJavadocs
> 

Re: svn commit: r1174787 - in /incubator/jena/Jena2/LARQ/trunk: .classpath .project

Posted by Thorsten Möller <th...@unibas.ch>.
Am 23.09.2011 um 17:10 schrieb Paolo Castagna:

> Hi Thorsten
> 
> Thorsten Möller wrote:
>> Am 23.09.2011 um 16:18 schrieb Paolo Castagna:
>> 
>>>> -  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar">
>>>> -    <attributes>
>>>> -      <attribute value="jar:file:/home/castagna/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-javadoc.jar!/" name="javadoc_location"/>
>>>> -    </attributes>
>>>> -  </classpathentry>
>>> If someone knows how to avoid that (i.e. absolute paths in the .classpath file) I'd love to find out.
>> 
>> Well, there is almost no need to attach the javadoc jar if the source jar is attached these days. Since you use Eclipse, Eclipse provides on-the-fly rendering JavaDoc like views from the sources. Try Eclipse' Javadoc view; similar for tooltips. 
> 
> Yes. I agree.
> 
>> You might also want to turn off this for the Eclipse Maven plugin [1].
> 
> Yep.
> 
> We have this in the LARQ's pom.xml [1] file, for example:
> 
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-eclipse-plugin</artifactId>
>        <version>2.8</version>
>        <configuration>
>          <buildOutputDirectory>${project.build.directory}/classes-eclipse</buildOutputDirectory>
>          <downloadSources>true</downloadSources>
>          <downloadJavadocs>false</downloadJavadocs>
>          <useProjectReferences>false</useProjectReferences>
>        </configuration>
>      </plugin>
> 
> However, if the javadoc jar is in your local Maven cache, it will appear in your
> .classpath every time you type mvn eclipse:eclipse.
> 
> Do you know how I can avoid that?

The radical way of solving it...

cd ~/.m2
rm -rf *-javadoc.jar

mvn eclipse:clean
mvn eclipse:eclipse


... uff ;-)


Thorsten




> 
> Paolo
> 
> [1] https://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/pom.xml
> 
>> 
>> Thorsten
>> 
>> [1] http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#downloadJavadocs


Re: svn commit: r1174787 - in /incubator/jena/Jena2/LARQ/trunk: .classpath .project

Posted by Paolo Castagna <ca...@googlemail.com>.
Hi Thorsten

Thorsten Möller wrote:
> Am 23.09.2011 um 16:18 schrieb Paolo Castagna:
> 
>>> -  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar">
>>> -    <attributes>
>>> -      <attribute value="jar:file:/home/castagna/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-javadoc.jar!/" name="javadoc_location"/>
>>> -    </attributes>
>>> -  </classpathentry>
>> If someone knows how to avoid that (i.e. absolute paths in the .classpath file) I'd love to find out.
> 
> Well, there is almost no need to attach the javadoc jar if the source jar is attached these days. Since you use Eclipse, Eclipse provides on-the-fly rendering JavaDoc like views from the sources. Try Eclipse' Javadoc view; similar for tooltips. 

Yes. I agree.

> You might also want to turn off this for the Eclipse Maven plugin [1].

Yep.

We have this in the LARQ's pom.xml [1] file, for example:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <version>2.8</version>
        <configuration>
          <buildOutputDirectory>${project.build.directory}/classes-eclipse</buildOutputDirectory>
          <downloadSources>true</downloadSources>
          <downloadJavadocs>false</downloadJavadocs>
          <useProjectReferences>false</useProjectReferences>
        </configuration>
      </plugin>

However, if the javadoc jar is in your local Maven cache, it will appear in your
.classpath every time you type mvn eclipse:eclipse.

Do you know how I can avoid that?

Paolo

 [1] https://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk/pom.xml

> 
> Thorsten
> 
> [1] http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#downloadJavadocs

Re: svn commit: r1174787 - in /incubator/jena/Jena2/LARQ/trunk: .classpath .project

Posted by Thorsten Möller <th...@unibas.ch>.
Am 23.09.2011 um 16:18 schrieb Paolo Castagna:

>> 
>> -  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar">
>> -    <attributes>
>> -      <attribute value="jar:file:/home/castagna/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-javadoc.jar!/" name="javadoc_location"/>
>> -    </attributes>
>> -  </classpathentry>
> 
> If someone knows how to avoid that (i.e. absolute paths in the .classpath file) I'd love to find out.

Well, there is almost no need to attach the javadoc jar if the source jar is attached these days. Since you use Eclipse, Eclipse provides on-the-fly rendering JavaDoc like views from the sources. Try Eclipse' Javadoc view; similar for tooltips. You might also want to turn off this for the Eclipse Maven plugin [1].

Thorsten

[1] http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html#downloadJavadocs

Re: svn commit: r1174787 - in /incubator/jena/Jena2/LARQ/trunk: .classpath .project

Posted by Paolo Castagna <ca...@googlemail.com>.

castagna@apache.org wrote:
> Author: castagna
> Date: Fri Sep 23 14:08:25 2011
> New Revision: 1174787
> 
> URL: http://svn.apache.org/viewvc?rev=1174787&view=rev
> Log: (empty)
> 
> Modified:
>     incubator/jena/Jena2/LARQ/trunk/.classpath
>     incubator/jena/Jena2/LARQ/trunk/.project
> 
> Modified: incubator/jena/Jena2/LARQ/trunk/.classpath
> URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/LARQ/trunk/.classpath?rev=1174787&r1=1174786&r2=1174787&view=diff
> ==============================================================================
> --- incubator/jena/Jena2/LARQ/trunk/.classpath (original)
> +++ incubator/jena/Jena2/LARQ/trunk/.classpath Fri Sep 23 14:08:25 2011
> @@ -11,11 +11,7 @@
>    <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2.jar" sourcepath="M2_REPO/org/apache/httpcomponents/httpclient/4.1.2/httpclient-4.1.2-sources.jar"/>
>    <classpathentry kind="var" path="M2_REPO/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2.jar" sourcepath="M2_REPO/org/apache/httpcomponents/httpcore/4.1.2/httpcore-4.1.2-sources.jar"/>
>    <classpathentry kind="var" path="M2_REPO/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4.jar" sourcepath="M2_REPO/com/ibm/icu/icu4j/3.4.4/icu4j-3.4.4-sources.jar"/>
> -  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar">
> -    <attributes>
> -      <attribute value="jar:file:/home/castagna/.m2/repository/com/hp/hpl/jena/iri/0.8/iri-0.8-javadoc.jar!/" name="javadoc_location"/>
> -    </attributes>
> -  </classpathentry>

If someone knows how to avoid that (i.e. absolute paths in the .classpath file) I'd love to find out.

Paolo

> +  <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8.jar" sourcepath="M2_REPO/com/hp/hpl/jena/iri/0.8/iri-0.8-sources.jar"/>
>    <classpathentry kind="var" path="M2_REPO/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4.jar" sourcepath="M2_REPO/com/hp/hpl/jena/jena/2.6.4/jena-2.6.4-sources.jar"/>
>    <classpathentry kind="var" path="M2_REPO/junit/junit/4.8.2/junit-4.8.2.jar" sourcepath="M2_REPO/junit/junit/4.8.2/junit-4.8.2-sources.jar"/>
>    <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16.jar" sourcepath="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16-sources.jar"/>
> @@ -27,4 +23,4 @@
>    <classpathentry kind="var" path="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9.jar" sourcepath="M2_REPO/org/codehaus/woodstox/wstx-asl/3.2.9/wstx-asl-3.2.9-sources.jar"/>
>    <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.7.1/xercesImpl-2.7.1.jar"/>
>    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> -</classpath>
> \ No newline at end of file
> +</classpath>
> 
> Modified: incubator/jena/Jena2/LARQ/trunk/.project
> URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/LARQ/trunk/.project?rev=1174787&r1=1174786&r2=1174787&view=diff
> ==============================================================================
> --- incubator/jena/Jena2/LARQ/trunk/.project (original)
> +++ incubator/jena/Jena2/LARQ/trunk/.project Fri Sep 23 14:08:25 2011
> @@ -1,6 +1,6 @@
>  <projectDescription>
>    <name>larq</name>
> -  <comment>LARQ - Free Text Indexing for SPARQL. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
> +  <comment>LARQ - Free Text Indexing for SPARQL.</comment>
>    <projects/>
>    <buildSpec>
>      <buildCommand>
> @@ -10,4 +10,4 @@
>    <natures>
>      <nature>org.eclipse.jdt.core.javanature</nature>
>    </natures>
> -</projectDescription>
> \ No newline at end of file
> +</projectDescription>
> 
>