Return-Path: X-Original-To: apmail-isis-users-archive@www.apache.org Delivered-To: apmail-isis-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82DCA101BF for ; Tue, 10 Feb 2015 09:52:01 +0000 (UTC) Received: (qmail 1523 invoked by uid 500); 10 Feb 2015 09:52:01 -0000 Delivered-To: apmail-isis-users-archive@isis.apache.org Received: (qmail 1485 invoked by uid 500); 10 Feb 2015 09:52:01 -0000 Mailing-List: contact users-help@isis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@isis.apache.org Delivered-To: mailing list users@isis.apache.org Received: (qmail 1474 invoked by uid 99); 10 Feb 2015 09:52:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 09:52:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.45.32.108] (HELO mailrelay02.solcon.nl) (212.45.32.108) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 09:51:56 +0000 Received: from [213.233.242.152] (helo=imap.qaleido.com) by mailrelay02.solcon.nl with esmtpa (Exim 4.72) (envelope-from ) id 1YL7Ti-0002JK-Sj for users@isis.apache.org; Tue, 10 Feb 2015 10:51:34 +0100 From: JohanDoornenbal@filternet.nl Subject: Re: optionality=Optionality.OPTIONAL issue X-Mailer: version 1.7.2.4 To: users@isis.apache.org Message-Id: <28c4dd879c7814d456692bbf94004a781ee421f1@ssw.solcon.nl> Date: Tue, 10 Feb 2015 10:51:34 +0100 Content-Type: multipart/alternative; boundary="=_fcaac7c6584a70b791165eeedc842068" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --=_fcaac7c6584a70b791165eeedc842068 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Alright,=0A=0A=0A=0AI did all those things. Nevermind... I will find out. I= just wonderered git and cloudbees are in sync. That is all there is right?= =0A=0A=0A=0Agrtz Johan=0A=0A=0A=0A=0AAh, misunderstood.=0A=0ANo, Cloudbees l= ooks like it's building ok, don't think the issue is there.=0A=0AIn Eclipse,= have you updated the .project files. IIRC it's ctrl-F5 or=0Asomething like= that (don't use Eclipse any more myself). Otherwise perhaps=0Aremove and r= e-add to workspace.=0A=0AYou can also use "show in explorer" for the class f= ile to see where it=0Aphysically resides...=0A=0AHTH=0ADan=0A=0A=0A=0A=0A=0A= =0AOn 10 February 2015 at 09:30, wrote:=0A=0A> Hi Dan,=0A>=0A>=0A>=0A> Yes,= I observed that already ;-)=0A>=0A> The issue is that somehow I get the old= class file everytime. I wonder=0A> where it comes from, because I clean eve= ry cache I can find. Is it on=0A> cloudbees or something I wonder?=0A>=0A>= =0A>=0A> grtz Johan=0A>=0A>=0A>=0A>=0A> Yup, sorry; I changed:=0A>=0A> optio= nal=3DOptionality.TRUE --> optionality=3DOptionality.OPTIONAL=0A> option= al=3DOptionality.FALSE --> optionality=3DOptionality.MANDATORY=0A>=0A> so= is more consistent with other attribuets.=0A>=0A> Hopefully a quick search/= replace through your codebase will fix... Don't=0A> intend to make any furt= her changes :-)=0A>=0A> Cheers=0A> Dan=0A>=0A>=0A> On 10 February 2015 at 09= :17, wrote:=0A>=0A> > Hi,=0A> >=0A> >=0A> >=0A> > I wonder why - after buil= ding in Eclipse (and yes, I cleaned .m2 and=0A> > eclipse workspace) - I hav= e problems with=0A> > 'optionality=3DOptionality.OPTIONAL' annotation. (It w= ant to revert to=0A> > "@Parameter(optional=3DOptionality.TRUE)"=0A> >=0A> >= When I check out [1] on git it seems OK.=0A> >=0A> > Are there some changes= in POM that I missed or ...?=0A> >=0A> >=0A> >=0A> > grtz Johan=0A> >=0A> >= =0A> >=0A> > [1]=0A> >=0A> https://github.com/apache/isis/blob/master/core/a= pplib/src/main/java/org/apache/isis/applib/annotation/Optionality.java=0A> >= =0A> >=0A> >=0A> >=0A> >=0A> >=0A> >=0A>=0A>=0A>=0A>=0A=0A=09=C2=A0=0A --=_fcaac7c6584a70b791165eeedc842068--