David,
committing the .project files is not solving the problem, as mvn
eclipse:eclipse generates perfectly valid Eclipse files. The problem
is still that these fiels are not importable  from within Eclipse
3.4Mx. So I suggest removing these as they are not necessary and not
solving any problem.

Try yourself deleting the project and reimporting it with the current
.project files - you will have the same issue again about naming :(

&peter

On Sun, May 4, 2008 at 1:35 PM,  <[EMAIL PROTECTED]> wrote:
> Author: [EMAIL PROTECTED]
>  Date: Sun May  4 13:35:08 2008
>  New Revision: 11627
>
>  Log:
>  Added Eclipse project files (please remove these if you don't like them).
>  Some trivial updates to remove compile warnings.
>
>
>  Added:
>    projects/qi4j/core/api/.classpath
>    projects/qi4j/core/api/.project
>  Modified:
>    projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesTo.java
>    
> projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesToFilter.java
>    projects/qi4j/core/api/src/main/java/org/qi4j/composite/State.java
>    
> projects/qi4j/core/api/src/main/java/org/qi4j/entity/association/AssociationInfo.java
>    projects/qi4j/core/api/src/main/java/org/qi4j/property/PropertyMixin.java
>
>  Added: projects/qi4j/core/api/.classpath
>  
> ==============================================================================
>  --- (empty file)
>  +++ projects/qi4j/core/api/.classpath   Sun May  4 13:35:08 2008
>  @@ -0,0 +1,9 @@
>  +<?xml version="1.0" encoding="UTF-8"?>
>  +<classpath>
>  +       <classpathentry kind="src" path="src/main/java"/>
>  +       <classpathentry kind="src" path="src/test/java"/>
>  +       <classpathentry kind="con" 
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>  +       <classpathentry kind="var" 
> path="M2_REPO/junit/junit/4.4/junit-4.4.jar"/>
>  +       <classpathentry kind="var" 
> path="M2_REPO/org/easymock/easymock/2.3/easymock-2.3.jar" 
> sourcepath="/HOME/libs/easymock/easymock2.3"/>
>  +       <classpathentry kind="output" path="target/test-classes"/>
>  +</classpath>
>
>  Added: projects/qi4j/core/api/.project
>  
> ==============================================================================
>  --- (empty file)
>  +++ projects/qi4j/core/api/.project     Sun May  4 13:35:08 2008
>  @@ -0,0 +1,17 @@
>  +<?xml version="1.0" encoding="UTF-8"?>
>  +<projectDescription>
>  +       <name>qi4j-api</name>
>  +       <comment></comment>
>  +       <projects>
>  +       </projects>
>  +       <buildSpec>
>  +               <buildCommand>
>  +                       <name>org.eclipse.jdt.core.javabuilder</name>
>  +                       <arguments>
>  +                       </arguments>
>  +               </buildCommand>
>  +       </buildSpec>
>  +       <natures>
>  +               <nature>org.eclipse.jdt.core.javanature</nature>
>  +       </natures>
>  +</projectDescription>
>
>  Modified: 
> projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesTo.java
>  
> ==============================================================================
>  --- projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesTo.java   
>    (original)
>  +++ projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesTo.java   
>    Sun May  4 13:35:08 2008
>  @@ -10,7 +10,6 @@
>   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   * See the License for the specific language governing permissions and
>   * limitations under the License.
>  - *
>   */
>
>   package org.qi4j.composite;
>  @@ -53,7 +52,7 @@
>   *
>   *     @Sessional public void setSomeState( State state )
>   *     {
>  - *     this.state = state;
>  + *         this.state = state;
>   *     }
>   *
>   *     @Sessional public State getSomeState()
>  @@ -84,9 +83,9 @@
>   * {}
>   * </code></pre>
>   * <p>
>  - * The setStateService and getStateService methods does not have the 
> @Sessional annotation,
>  - * and will therefor the SessionModifier will not be placed into the call 
> sequence of these
>  - * methods, and the other way around.
>  + * The setStateService and getStateService methods do not have the 
> @Sessional annotation,
>  + * therefore the SessionModifier will not be placed into the call sequence 
> of these
>  + * methods, and vice-versa.
>   * </p>
>   */
>   @Retention( RetentionPolicy.RUNTIME )
>  @@ -98,5 +97,5 @@
>      // If one of them matches the current element it will be accepted,
>      // so this list can be considered an "or"
>
>  -    Class[] value();
>  +    Class<?>[] value();
>   }
>
>  Modified: 
> projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesToFilter.java
>  
> ==============================================================================
>  --- 
> projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesToFilter.java  
>       (original)
>  +++ 
> projects/qi4j/core/api/src/main/java/org/qi4j/composite/AppliesToFilter.java  
>       Sun May  4 13:35:08 2008
>  @@ -23,5 +23,5 @@
>   */
>   public interface AppliesToFilter
>   {
>  -    boolean appliesTo( Method method, Class mixin, Class compositeType, 
> Class fragmentClass );
>  +    boolean appliesTo( Method method, Class<?> mixin, Class<?> 
> compositeType, Class<?> fragmentClass );
>   }
>
>  Modified: projects/qi4j/core/api/src/main/java/org/qi4j/composite/State.java
>  
> ==============================================================================
>  --- projects/qi4j/core/api/src/main/java/org/qi4j/composite/State.java  
> (original)
>  +++ projects/qi4j/core/api/src/main/java/org/qi4j/composite/State.java  Sun 
> May  4 13:35:08 2008
>  @@ -23,7 +23,7 @@
>   */
>   public interface State
>   {
>  -    Property getProperty( Method propertyMethod );
>  +    Property<?> getProperty( Method propertyMethod );
>
>      AbstractAssociation getAssociation( Method associationMethod );
>   }
>
>  Modified: 
> projects/qi4j/core/api/src/main/java/org/qi4j/entity/association/AssociationInfo.java
>  
> ==============================================================================
>  --- 
> projects/qi4j/core/api/src/main/java/org/qi4j/entity/association/AssociationInfo.java
>        (original)
>  +++ 
> projects/qi4j/core/api/src/main/java/org/qi4j/entity/association/AssociationInfo.java
>        Sun May  4 13:35:08 2008
>  @@ -25,20 +25,21 @@
>       * Get metadata that implements the given type
>       *
>       * @param infoType the type of metadata to be returned
>  -     * @return the metadata for the given type or null if no such metadata 
> has been registered
>  +     * @return the metadata for the given type, or <code>null</code> if
>  +     *         no such metadata has been registered
>       */
>      <T> T metaInfo( Class<T> infoType );
>
>      /**
>       * Get the unqualified name of the association. This is the method
>  -     * name of the assocation.
>  +     * name of the association.
>       *
>       * @return the name of the association
>       */
>      String name();
>
>      /**
>  -     * Get the qualified name of the assocation. This is constructed by
>  +     * Get the qualified name of the association. This is constructed by
>       * concatenating the name of the declaring interface with the name
>       * of the method, using ":" as separator. Example:<br/>
>       * com.somecompany.MyInterface with association method<br/>
>
>  Modified: 
> projects/qi4j/core/api/src/main/java/org/qi4j/property/PropertyMixin.java
>  
> ==============================================================================
>  --- 
> projects/qi4j/core/api/src/main/java/org/qi4j/property/PropertyMixin.java   
> (original)
>  +++ 
> projects/qi4j/core/api/src/main/java/org/qi4j/property/PropertyMixin.java   
> Sun May  4 13:35:08 2008
>  @@ -30,7 +30,6 @@
>   {
>      @PropertyField State state;
>
>  -    @SuppressWarnings( "unchecked" )
>      public Object invoke( Object proxy, Method method, Object[] args )
>          throws Throwable
>      {
>  @@ -40,7 +39,7 @@
>      public static class PropertyFilter
>          implements AppliesToFilter
>      {
>  -        public boolean appliesTo( Method method, Class mixin, Class 
> compositeType, Class modifierClass )
>  +        public boolean appliesTo( Method method, Class<?> mixin, Class<?> 
> compositeType, Class<?> modifierClass )
>          {
>              return Property.class.isAssignableFrom( method.getReturnType() );
>          }
>
>  _______________________________________________
>  notify mailing list
>  [EMAIL PROTECTED]
>  http://lists.ops4j.org/mailman/listinfo/notify
>
>



-- 
GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
GTalk neubauer.peter
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to