very odd about that compile problem, then.

I'm on 1.6.0_37, on Windows, and using Maven 3.0.4

By the way, were you in the root directory, or were you in the core
directory?  Both should work, but you probably want to be at root.

Dan


On 15 January 2013 15:11, Christian Steinebach <
[email protected]> wrote:

> Hi Dan,
>
> thank you for the suggestions. I will have a look.
>
> I use javac 1.6.0_24 to compile.
>
>            Christian
>
> ________________________________________
> From: Dan Haywood [[email protected]]
> Sent: Tuesday, January 15, 2013 2:54 PM
> To: [email protected]
> Subject: Re: isis compile from source, gmaps2 widget?
>
> On 15 January 2013 13:05, Christian Steinebach <
> [email protected]> wrote:
>
> > Hi,
> >
> > Googling isis I found some extension which was supposed to show objects
> on
> > a map when they
> > implemented a Locatable interface. Is there a plan to add this feature
> > back into isis?
> >
>
> Yes, most probably.  I need to ensure that the license of the gmap2 stuff
> is compatible with ASF, though.
>
>
>
> > I 'located' the source code, but I have no clue on how to extend the
> > wicket viewer
> > to use it (neither how to compile it).
> >
>
> That's done by writing ComponentFactory and registering into
> ComponentFactory registry; see [1]; also [2] and [3] show an example.
>
>
>
> > Plan was to download the source code for isis, try to compile it and then
> > have a look
> > at the gmap2 extension whether I could figure out something.
> >
> > Yup, makes sense.
>
>
>
> > I could not compile isis from the source. I cloned using git, moved to
> the
> > root directory,
> >
> > 'mvn install'
> >
> > [INFO] 3 errors
> > [INFO] -------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Isis Core .................................. SUCCESS
> [4.493s]
> > [INFO] Isis Core AppLib .................................. SUCCESS
> [5.681s]
> > [INFO] Isis Core Unit Test Support ....................... SUCCESS
> [2.361s]
> > [INFO] Isis Core MetaModel ............................... FAILURE
> [4.614s]
> > ...
> > ...
> > ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
> > (default-compile) on project isis-core-metamodel: Compilation failure:
> > Compilation failure:
> > [ERROR]
> >
> /home/chris/NetBeansProjects/isis/core/metamodel/src/main/java/org/apache/isis/core/commons/factory/InstanceUtil.java:[66,35]
> > invalid inferred types for T; inferred type does not conform to declared
> > bound(s)
> > [ERROR] inferred: T
> > [ERROR] bound(s): R
> > [ERROR]
> > [ERROR]
> >
> /home/chris/NetBeansProjects/isis/core/metamodel/src/main/java/org/apache/isis/progmodels/dflt/JavaReflectorInstallerNoDecorators.java:[143,89]
> > invalid inferred types for T; inferred type does not conform to declared
> > bound(s)
> > [ERROR] inferred: org.apache.isis.core.metamodel.facets.FacetFactory
> > [ERROR] bound(s): R
> > [ERROR]
> > [ERROR]
> >
> /home/chris/NetBeansProjects/isis/core/metamodel/src/main/java/org/apache/isis/progmodels/dflt/JavaReflectorInstallerNoDecorators.java:[157,85]
> > invalid inferred types for T; inferred type does not conform to declared
> > bound(s)
> > [ERROR] inferred: org.apache.isis.core.metamodel.facets.FacetFactory
> > [ERROR] bound(s): R
> > [ERROR] -> [Help 1]
> > [ERROR]
> >
> >
> Hmm, that's more of an issue.  Which version of Java did you build with? I
> use Java 1.6, so if you use Java 7 then perhaps the compiler is more fussy?
>
> Dan
>
>
> [1]
>
> https://github.com/apache/isis/blob/master/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/registries/components/ComponentFactoryRegistrarDefault.java
> [2]
>
> https://github.com/apache/isis/blob/master/example/application/quickstart_wicket_restful_jdo/viewer-webapp/src/main/java/app/QuickStartApplication.java
> [3]
>
> https://github.com/apache/isis/blob/master/example/application/quickstart_wicket_restful_jdo/viewer-webapp/src/main/java/app/ComponentFactoryRegistrarForQuickStart.java
>
>
>
> >            Christian
> >
>

Reply via email to