Paolo,
In eclipse, it chooses the <name> because it looks in .project.
Andy
On 21/11/11 17:00, Paolo Castagna wrote:
[email protected] wrote:
It might be good to converge|agree on a jena-{modulename} convention and use that
everywhere (i.e. Maven artifactIds, SVN folders?, Eclipse project names, etc.). This is
what I would do, but this is also a matter of style and "de gustibus non est
disputandum".
To make things more explicit, this is the situation I'd like to be in:
### Eclipse Workspace Patch 1.0
#P ARQ
Index: .project
===================================================================
--- .project (revision 1204458)
+++ .project (working copy)
@@ -1,5 +1,5 @@
<projectDescription>
-<name>ARQ</name>
+<name>jena-arq</name>
<comment>ARQ - a SPARQL query engine</comment>
<projects/>
<buildSpec>
#P Jena2
Index: .project
===================================================================
--- .project (revision 1204458)
+++ .project (working copy)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>Jena2</name>
+ <name>jena-core</name>
<comment></comment>
<projects>
</projects>
#P jena-dist
Index: pom.xml
===================================================================
--- pom.xml (revision 1204590)
+++ pom.xml (working copy)
@@ -49,34 +49,11 @@
</build>
<modules>
-<!--
- It would be better to have a consistent approach with names here,
- jena-larq -> LARQ? I find it useful to have the "jena-" prefix,
- all the projects are close to each others in IDE such as Eclipse.
- -->
-
-<module>../JenaTop</module>
-<module>../Jena2</module>
-<module>../IRI</module>
-<module>../ARQ</module>
-<module>../jena-larq</module>
-
-<!--
-
- This is what it's necessary to compile from the -src.zip distribution.
- Note that "every ASF release must contain a source package, which
- must be sufficient for a user to build and test the release provided
- they have access to the appropriate platform and tools."
- -- http://www.apache.org/dev/release.html
-
<module>../jena-top</module>
<module>../jena-core</module>
<module>../jena-iri</module>
<module>../jena-arq</module>
<module>../jena-larq</module>
-
- -->
-
</modules>
</project>
#P JenaTop
Index: .project
===================================================================
--- .project (revision 1204568)
+++ .project (working copy)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>JenaTop</name>
+ <name>jena-top</name>
<comment></comment>
<projects>
</projects>
#P IRI
Index: .project
===================================================================
--- .project (revision 1204458)
+++ .project (working copy)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>IRI</name>
+ <name>jena-iri</name>
<comment></comment>
<projects>
</projects>
Paolo