isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: optionality=Optionality.OPTIONAL issue
Date Tue, 10 Feb 2015 10:17:09 GMT
sadness, much sadness.

Computers are meant to make us more productive, aren't they?

On 10 February 2015 at 10:14, <JohanDoornenbal@filternet.nl> wrote:

> Yep, I just did that.
>
> What I do next is building isis from git so my .m2 is up-to-date.
>
> Because now I get: java.lang.NoClassDefFoundError:
> org/apache/isis/core/metamodel/facets/propparam/maxlen/MaxLengthFacet
>
>
>
>
>
>
> At this point I'd start deleting the contents of
> ~/.m2/repository/org/apache/isis
>
>
>
> On 10 February 2015 at 10:00,  wrote:
>
> > Tnx Martin,
> >
> >
> >
> > That's what I did and I am doing it again.. Eclipse is retrieving from
> .m2
> > it says but maybe it has some secrets... I just wonder where ;-)
> >
> >
> >
> > grtz Johan
> >
> >
> >
> >
> > I'd bet it is Eclipse that keeps some cache.
> > To verify you can build your project on the command line (console) with :
> > mvn clean compile
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Feb 10, 2015 at 11:51 AM,  wrote:
> >
> > > Alright,
> > >
> > >
> > >
> > > I did all those things. Nevermind... I will find out. I just wonderered
> > > git and cloudbees are in sync. That is all there is right?
> > >
> > >
> > >
> > > grtz Johan
> > >
> > >
> > >
> > >
> > > Ah, misunderstood.
> > >
> > > No, Cloudbees looks like it's building ok, don't think the issue is
> > there.
> > >
> > > In Eclipse, have you updated the .project files.  IIRC it's ctrl-F5 or
> > > something like that (don't use Eclipse any more myself).  Otherwise
> > perhaps
> > > remove and re-add to workspace.
> > >
> > > You can also use "show in explorer" for the class file to see where it
> > > physically resides...
> > >
> > > HTH
> > > Dan
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 10 February 2015 at 09:30,  wrote:
> > >
> > > > Hi Dan,
> > > >
> > > >
> > > >
> > > > Yes, I observed that already ;-)
> > > >
> > > > The issue is that somehow I get the old class file everytime. I
> wonder
> > > > where it comes from, because I clean every cache I can find. Is it on
> > > > cloudbees or something I wonder?
> > > >
> > > >
> > > >
> > > > grtz Johan
> > > >
> > > >
> > > >
> > > >
> > > > Yup, sorry; I changed:
> > > >
> > > > optional=Optionality.TRUE    -->  optionality=Optionality.OPTIONAL
> > > > optional=Optionality.FALSE  -->  optionality=Optionality.MANDATORY
> > > >
> > > > so is more consistent with other attribuets.
> > > >
> > > > Hopefully a quick search/replace through your codebase will fix...
> > Don't
> > > > intend to make any further changes :-)
> > > >
> > > > Cheers
> > > > Dan
> > > >
> > > >
> > > > On 10 February 2015 at 09:17,  wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > >
> > > > >
> > > > > I wonder why - after building in Eclipse (and yes, I cleaned .m2
> and
> > > > > eclipse workspace) - I have problems with
> > > > > 'optionality=Optionality.OPTIONAL' annotation. (It want to revert
> to
> > > > > "@Parameter(optional=Optionality.TRUE)"
> > > > >
> > > > > When I check out [1] on git it seems OK.
> > > > >
> > > > > Are there some changes in POM that I missed or ...?
> > > > >
> > > > >
> > > > >
> > > > > grtz Johan
> > > > >
> > > > >
> > > > >
> > > > > [1]
> > > > >
> > > >
> > >
> >
> https://github.com/apache/isis/blob/master/core/applib/src/main/java/org/apache/isis/applib/annotation/Optionality.java
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message