Do another fetch of latest.. those failing tests were my mistake, should
now be fixed I hope.

Dan

Sorry to be brief, sent from my phone
On Jan 18, 2013 8:48 PM, "Christian Steinebach" <
[email protected]> wrote:

> Hi Dan!
>
> Thanks you very much for taking the time!! :-)
> I'm still struggeling, though, with the building of isis from source.
> I pulled the latest version from github. The compilation still stopped in
> the metamodel module.
> I'm running Ubuntu, which by default uses the openjdk java toolkit.
> I therefore installed oracle's jdk. That made a difference. :-) The
> metamodel module compiles.
>
> But now some of the tests in core runtime fail, see the log below.
>
> .....
> [INFO] Building Isis Core Runtime 1.0.1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> isis-core-runtime ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @
> isis-core-runtime ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.4:process
> (process-remote-resources) @ isis-core-runtime ---
> [INFO] Skipping remote-resource generation in this project because it's
> not the Execution Root
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
> isis-core-runtime ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 9 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
> isis-core-runtime ---
> [INFO] Compiling 221 source files to
> /home/chris/NetBeansProjects/isis/core/runtime/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:testResources
> (default-testResources) @ isis-core-runtime ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /home/chris/NetBeansProjects/isis/core/runtime/src/test/resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @
> isis-core-runtime ---
> [INFO] Compiling 47 source files to
> /home/chris/NetBeansProjects/isis/core/runtime/target/test-classes
> [INFO]
> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
> isis-core-runtime ---
> [INFO] Surefire report directory:
> /home/chris/NetBeansProjects/isis/core/runtime/target/surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
>
> Results :
>
> Tests in error:
>
> destroyObjectThenAbort(org.apache.isis.core.runtime.persistence.objectstore.PersistenceSessionObjectStoreTest)
>
> destroyObject_thenCommit(org.apache.isis.core.runtime.persistence.objectstore.PersistenceSessionObjectStoreTest)
>
> makePersistent_happyCase(org.apache.isis.core.runtime.persistence.objectstore.PersistenceSessionObjectStoreTest)
>
> Tests run: 142, Failures: 0, Errors: 3, Skipped: 13
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Isis Core .................................. SUCCESS [3.425s]
> [INFO] Isis Core AppLib .................................. SUCCESS [7.249s]
> [INFO] Isis Core Unit Test Support ....................... SUCCESS [2.068s]
> [INFO] Isis Core MetaModel ............................... SUCCESS
> [20.666s]
> [INFO] Isis Core Runtime ................................. FAILURE [7.236s]
> [INFO] Isis Core WebServer ............................... SKIPPED
> .....
>
>
>                  Christian
>
>
>
>
>
>
>
>
>
>
> ________________________________________
> From: Dan Haywood [[email protected]]
> Sent: Friday, January 18, 2013 5:14 PM
> To: [email protected]
> Cc: dev
> Subject: Re: multiple selection lists?
>
> Hi  Christian,
> OK, I've been doing some work on this issue, and it is now fixed, I think,
> in master.
>
> It's required changes to both core and the wicket viewer, so it'll get
> released in isis-1.1.0 and isis-wicket-viewer-1.1.0 (probably a Feb
> timeframe).
>
> It works through a new annotation, @Bulk.  If added to an action (either an
> entity action or a service action to be contributed), then the action is
> rendered in the table view.  It is called for each of the checked entities
> in the table.
>
> @Bulk actions are slightly different from regular actions (hence the
> explicit annotation) in that any business rules (hidden, disabled or
> validation) are NOT called.  Therefore it is the responsibility of the
> programmer to guard for this; the method should just do nothing if its
> preconditions are not met.
>
> Also, at this point in time, @Bulk actions cannot take arguments.  That is,
> an entity action must be a no-arg, while a contributed service action
> should take precisely 1 argument.
>
> To try this out, you'll need to build Isis from source, of course.
>
> Rob/Kevin/other devs:
> I think this design should degrade gracefully for other viewers such as
> Scimpi and HTML that don't yet understand this new annotation; they will
> simply continue to render in the same way.
>
> Let me know how you get on.
> Dan
>
>
> On 17 January 2013 18:35, Jeroen van der Wal <[email protected]> wrote:
>
> > Hi Christian,
> >
> > The intention is that methods on the the repository are picked up as a
> > "contributed action" when their return type is void and have a single
> > parameter. We've checked but apparently It doesn't work. A ticket has
> been
> > raised [1]
> >
> > I don't know if this mechanism could also be applied to collections, will
> > have to find out.
> >
> > Cheers,
> >
> > Jeroen
> >
> > [1] https://issues.apache.org/jira/browse/ISIS-304
> >
> >
> >
> > On Wed, Jan 16, 2013 at 10:43 PM, Christian Steinebach <
> > [email protected]> wrote:
> >
> > > Hi!
> > >
> > > In the ToDo application, when listing AllToDos there are check boxes
> > > available for each row of the table.
> > > How can the selections be processed?
> > >
> > > Is it possible to add check boxes to the table view of collections,
> such
> > > as  'Dependencies' (in the ToDo application) and process
> > > them, i.e. mark some dependencies for removal?
> > > I could not find any hint in the documentation.
> > >
> > >            Thanks in advance
> > >                   Christian
> >
>

Reply via email to