Ciao Sandro,
Actually, yes, I think a snapshot of current sources could be useful.
Thanks,
~Roger
On 10/30/15 9:52 AM, Sandro Martini wrote:
Hi all,
Roger, don't worry, it was just to better understand if needed to do a
build of committed sources, and put in a public place as a snapshot
:-) ... tell me if could be useful.
Today I started to update my dev environments to latest JDK 8 Update
65/66, so I'm ready even for that now, because for all my projects
really I have to start to move from JDK 7 (Update 80, latest public)
to JDK 8 ...
Stay well.
Ciao
2015-10-30 17:21 GMT+01:00 Roger Whitcomb <[email protected]>:
Ciao Sandro,
I built the .jars I sent using JDK 7 (build 25, that is, not the latest), and
using "ant". But I did find that what I sent Mark earlier was not the latest
source (due to my Javadoc changes). So, I'm going to build again with all the latest
source so we can get accurate stack traces.
Thanks,
~Roger
-----Original Message-----
From: Sandro Martini [mailto:[email protected]]
Sent: Thursday, October 29, 2015 2:31 PM
To: Users - Apache Pivot <[email protected]>
Subject: Re: JAVA 8 bxml script variables not working
Hi all and sorry for the delay ...
I have a staging area public (one in my account at Apache, and another at
BinTray), next time tell me so I can build and publish there snapshot artifacts
... just for info, Roger, how did you build those jars (using latest JDK 7 or
8) and usual build task in ant, right ?
Bye,
Sandro
2015-10-29 21:56 GMT+01:00 Roger Whitcomb <[email protected]>:
Hi Mark,
I have emailed the .zip file to your personal email (i.e., not the list).
~Roger
________________________________________
From: [email protected] <[email protected]>
Sent: Thursday, October 29, 2015 12:37 AM
To: [email protected]
Subject: RE: JAVA 8 bxml script variables not working
Hi Roger,
You can just email them to me;]
Regards,
Mark.
-----Original Message-----
From: Roger and Beth Whitcomb [mailto:[email protected]]
Sent: Thursday, 29 October 2015 1:25 PM
To: [email protected]
Subject: Re: JAVA 8 bxml script variables not working
Hi Mark,
Yes, I do have some built .jar files. Not sure where to put them where
you could access them. Let me give that some thought, or do you have a Dropbox
or someplace?
Thanks,
~Roger
On 10/28/15 11:05 PM, [email protected] wrote:
Hi Roger,
I am still getting the same error, after building again from trunk...
Any chance you have some compiled jars I can try? (Very likely I have
done something wrong in the build process...since I use IntelliJ and
sometimes the Eclipse/Maven projects change things...)
Regards,
Mark.
-----Original Message-----
From: Roger and Beth Whitcomb [mailto:[email protected]]
Sent: Monday, 26 October 2015 11:47 PM
To: [email protected]
Subject: Re: JAVA 8 bxml script variables not working
Yes, this is completely fixed in "trunk" and in "branches/2.0.x" (so the
unreleased 2.1 and 2.0.5 versions). So, please let me know if you still have problems with your
built versions.
BTW, I think this is one good reason to make the push to get 2.0.5 released.
Thanks,
~Roger
On 10/26/15 3:40 AM, [email protected] wrote:
Hi Sandro,
Thank you for the fast response;]
I will build from the trunk and let you know the result.
Regards,
Mark.
-----Original Message-----
From: Sandro Martini [mailto:[email protected]]
Sent: Monday, 26 October 2015 4:56 PM
To: Users - Apache Pivot
Subject: Re: JAVA 8 bxml script variables not working
Hi mark,
I think you are seeing the problem is this issue: (
https://issues.apache.org/jira/browse/PIVOT-965 ).
Roger some time ago did some commit to start the fix (but I'm not sure it's
already fixed).
I suggest you to build all from the trunk (maybe even from 2.0.5, but trunk
generally speaking has other fixes/improvements) because 2.0.5 and 2.1.0 still
are not released.
Keep us updated.
Thanks for now,
Sandro
2015-10-26 10:22 GMT+01:00 Ripgiblet <[email protected]>:
Having the same trouble with upgrade to JAVA 8 as may have been
mentioned in PIVOT-965.
Basically variables set in bxml:script are not accessible in the
rest of the bxml file.
<bxml:script>
var vCellWidth = 788/10 - (9*4)/10;
var vCellHeight = 68;
var vCellWidth5 = 5*vCellWidth+4*4; </bxml:script>
<CardPane bxml:id="logincardpane">
<BoxPane orientation="vertical">
<TablePane styleName="tablepanestylelogin"
styles="{horizontalSpacing:1, verticalSpacing:10,
showHorizontalGridLines:false,
showVerticalGridLines:false}">
<columns>
<TablePane.Column width="$vCellWidth5"/>
Returns:
Caused by: org.apache.pivot.serialization.SerializationException:
Value "vCellWidth5" is not defined.
at
org.apache.pivot.beans.BXMLSerializer.processAttributes(BXMLSerializer.java:1092)
at
org.apache.pivot.beans.BXMLSerializer.processStartElement(BXMLSerializer.java:818)
at
org.apache.pivot.beans.BXMLSerializer.readObject(BXMLSerializer.java:
4
42)
Do you have a link to the 2.0.5.jar or 2.1.jar so I can try to see
if the security changes fixed this? (Or should I recompile from the
Trunk? Or a
branch?)
or any other ideas on how to make it work?
regards,
Mark.
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/JAVA-8-bxml-script-v
a r i ables-not-working-tp4023027.html Sent from the Apache Pivot -
Users mailing list archive at Nabble.com.