Re: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2

2016-04-21 Thread Patricia Shanahan

On 4/21/2016 3:12 PM, Carl Marcum wrote:

On 04/21/2016 02:09 PM, Patricia Shanahan wrote:

The .class files in the uploaded .jar were compiled with Java 1.8:

Patricia@Jan2014Desktop
/cygdrive/c/Users/Patricia/.groovy/grapes/org.openoffice/guno-extension/jars

$ !find
find . -type f -name '*.class' -exec file '{}' ';' -print
./org/openoffice/guno/SpreadsheetExtension.class: compiled Java class
data, version 52.0 (Java 1.8)
./org/openoffice/guno/SpreadsheetExtension.class
./org/openoffice/guno/UnoExtension.class: compiled Java class data,
version 52.0 (Java 1.8)
./org/openoffice/guno/UnoExtension.class

so Groovy will need a 1.8 JRE to run them.

On 4/21/2016 10:47 AM, Patricia Shanahan wrote:

After some more testing: It works with JDK1.8 or JRE1.8, 32-bit or
64-bit in each case.

However, it fails with the following output using jdk1.7.0_79.


Looks like I overlooked that.

If that gives people any issues I can add

|sourceCompatibility=  1.6
targetCompatibility=  1.6

to the gradle.build file to fix it and create a new RC.


I think it's your call. I have no need to use anything before 1.8 - I 
was just testing for completeness. 1.8 is the current version.


On the other hand, it takes less than an hour to do the complete test 
sequence, so no big deal if you decide to make a new release candidate.


Patricia


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2

2016-04-21 Thread Carl Marcum

On 04/21/2016 02:09 PM, Patricia Shanahan wrote:

The .class files in the uploaded .jar were compiled with Java 1.8:

Patricia@Jan2014Desktop 
/cygdrive/c/Users/Patricia/.groovy/grapes/org.openoffice/guno-extension/jars

$ !find
find . -type f -name '*.class' -exec file '{}' ';' -print
./org/openoffice/guno/SpreadsheetExtension.class: compiled Java class 
data, version 52.0 (Java 1.8)

./org/openoffice/guno/SpreadsheetExtension.class
./org/openoffice/guno/UnoExtension.class: compiled Java class data, 
version 52.0 (Java 1.8)

./org/openoffice/guno/UnoExtension.class

so Groovy will need a 1.8 JRE to run them.

On 4/21/2016 10:47 AM, Patricia Shanahan wrote:

After some more testing: It works with JDK1.8 or JRE1.8, 32-bit or
64-bit in each case.

However, it fails with the following output using jdk1.7.0_79.


Looks like I overlooked that.

If that gives people any issues I can add

|sourceCompatibility=  1.6
targetCompatibility=  1.6

to the gradle.build file to fix it and create a new RC.

Thanks,
Carl

|



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2

2016-04-21 Thread Patricia Shanahan

The .class files in the uploaded .jar were compiled with Java 1.8:

Patricia@Jan2014Desktop 
/cygdrive/c/Users/Patricia/.groovy/grapes/org.openoffice/guno-extension/jars

$ !find
find . -type f -name '*.class' -exec file '{}' ';' -print
./org/openoffice/guno/SpreadsheetExtension.class: compiled Java class 
data, version 52.0 (Java 1.8)

./org/openoffice/guno/SpreadsheetExtension.class
./org/openoffice/guno/UnoExtension.class: compiled Java class data, 
version 52.0 (Java 1.8)

./org/openoffice/guno/UnoExtension.class

so Groovy will need a 1.8 JRE to run them.

On 4/21/2016 10:47 AM, Patricia Shanahan wrote:

After some more testing: It works with JDK1.8 or JRE1.8, 32-bit or
64-bit in each case.

However, it fails with the following output using jdk1.7.0_79.

Patricia@Jan2014Desktop /cygdrive/c/OpenOfficeDev/GroovyUNO/test
$ !gr
groovy *.groovy
Apr 21, 2016 10:03:31 AM
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class
[org.openoffice.guno.UnoExtension]
Apr 21, 2016 10:03:31 AM
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class
[org.openoffice.guno.SpreadsheetExtension]
Apr 21, 2016 10:03:50 AM
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class
[org.openoffice.guno.UnoExtension]
Apr 21, 2016 10:03:50 AM
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class
[org.openoffice.guno.SpreadsheetExtension]
Connected to a running office ...
No signature of method: com.sun.proxy.$Proxy5.guno() is applicable for
argument types: (java.lang.Class) values: [interface
com.sun.star.frame.XComponentLoader]
Possible solutions: any(), dump(), find(), grep(),
find(groovy.lang.Closure), any(groovy.lang.Closure)
groovy.lang.MissingMethodException: No signature of method:
com.sun.proxy.$Proxy5.guno() is applicable for argument types:
(java.lang.Class) values: [interface com.sun.star.frame.XComponentLoader]
Possible solutions: any(), dump(), find(), grep(),
find(groovy.lang.Closure), any(groovy.lang.Closure)
 at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)

 at
org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)

 at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

 at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

 at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

 at
HelloTextTableShape.newDocComponent(HelloTextTableShape.groovy:415)
 at HelloTextTableShape.useWriter(HelloTextTableShape.groovy:130)
 at
HelloTextTableShape.useDocuments(HelloTextTableShape.groovy:122)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:606)
 at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)

 at
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:71)

 at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

 at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

 at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)

 at HelloTextTableShape.main(HelloTextTableShape.groovy:109)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:606)
 at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
 at
groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1445)
 at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:897)

 at
groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:287)

 at groovy.lang.GroovyShell.run(GroovyShell.java:518)
 at groovy.lang.GroovyShell.run(GroovyShell.java:507)
 at groovy.ui.GroovyMain.processOnce(GroovyMain.java:652)
 at groovy.ui.GroovyMain.run(GroovyMain.java:384)
 at groovy.ui.GroovyMain.process(GroovyMain.java:370)
 at 

Re: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2

2016-04-21 Thread Patricia Shanahan
After some more testing: It works with JDK1.8 or JRE1.8, 32-bit or 
64-bit in each case.


However, it fails with the following output using jdk1.7.0_79.

Patricia@Jan2014Desktop /cygdrive/c/OpenOfficeDev/GroovyUNO/test
$ !gr
groovy *.groovy
Apr 21, 2016 10:03:31 AM 
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class 
[org.openoffice.guno.UnoExtension]
Apr 21, 2016 10:03:31 AM 
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class 
[org.openoffice.guno.SpreadsheetExtension]
Apr 21, 2016 10:03:50 AM 
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class 
[org.openoffice.guno.UnoExtension]
Apr 21, 2016 10:03:50 AM 
org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule newModule
WARNING: Module [guno-module] - Unable to load extension class 
[org.openoffice.guno.SpreadsheetExtension]

Connected to a running office ...
No signature of method: com.sun.proxy.$Proxy5.guno() is applicable for 
argument types: (java.lang.Class) values: [interface 
com.sun.star.frame.XComponentLoader]
Possible solutions: any(), dump(), find(), grep(), 
find(groovy.lang.Closure), any(groovy.lang.Closure)
groovy.lang.MissingMethodException: No signature of method: 
com.sun.proxy.$Proxy5.guno() is applicable for argument types: 
(java.lang.Class) values: [interface com.sun.star.frame.XComponentLoader]
Possible solutions: any(), dump(), find(), grep(), 
find(groovy.lang.Closure), any(groovy.lang.Closure)
at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)
at 
org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at 
HelloTextTableShape.newDocComponent(HelloTextTableShape.groovy:415)

at HelloTextTableShape.useWriter(HelloTextTableShape.groovy:130)
at HelloTextTableShape.useDocuments(HelloTextTableShape.groovy:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)
at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:71)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)

at HelloTextTableShape.main(HelloTextTableShape.groovy:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)

at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at 
groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1445)
at 
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:897)
at 
groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:287)

at groovy.lang.GroovyShell.run(GroovyShell.java:518)
at groovy.lang.GroovyShell.run(GroovyShell.java:507)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:652)
at groovy.ui.GroovyMain.run(GroovyMain.java:384)
at groovy.ui.GroovyMain.process(GroovyMain.java:370)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)
at groovy.ui.GroovyMain.main(GroovyMain.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
at 
org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)





Re: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2

2016-04-21 Thread Patricia Shanahan
Like all sane Java-using programs, Groovy seems to be perfectly happy 
with a 64-bit JDK. In the shell I have been using for my UNO-testing:


Patricia@Jan2014Desktop /cygdrive/c/OpenOfficeDev/GroovyUNO/test
$ echo $JAVA_HOME
C:/Program Files/Java/jdk1.8.0_71

which is a 64-bit release 8 JDK.

I'll do some tests and enhance the instructions to deal with JAVA_HOME. 
We also need explicit instructions on installing Groovy and Gradle so 
that people who are not already familiar with them can do the tests.


Patricia

On 4/21/2016 8:47 AM, Dennis E. Hamilton wrote:

I am having a different kind of difficulty.  I think this experience is more for the 
Apache Groovy project, but some of it might apply to our prerequisites at 
.

  1. I chose to use the Groovy 2.4.6 Windows Installer (.exe).

  2. I do have a JRE and a JDK installed, but there is a confusing report, as 
if Groovy can't find it or is not clear which to use.  (I think I have both 
32-bit and a 64-bit installed.)

  3. Although there is a report that JAVA_HOME needs to be set (it isn't), 
Groovy does find the JRE anyhow.  I think that is because it defaulted to 
32-bit for the install.

  4. The installer sets the search path for Groovy incorrectly.  I am going to 
correct the search path and see how much farther I can get.

  5. I will report some of this to Apache Groovy.

Meanwhile, this awkward since my goal is not to become adept with Groovy and 
Gradle but to see if I can reproduce the tests and confirm the Release 
Candidate.  It is difficult to be confident in what I am doing.

  - Dennis


-Original Message-
From: Carl Marcum [mailto:cmar...@apache.org]
Sent: Wednesday, April 20, 2016 15:38
To: dev@openoffice.apache.org
Subject: Re: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2


[ ... ]


[]$ gpg --verify guno-extension-0.1.4-r1740035-src.zip.asc
gpg: assuming signed data in `guno-extension-0.1.4-r1740035-src.zip'
gpg: Signature made Wed 20 Apr 2016 06:20:30 PM EDT using RSA key ID
9553BF9A
gpg: Good signature from "Carl Marcum (CODE SIGNING KEY)
"
gpg: aka "Carl Marcum (CODE SIGNING KEY)
"
[]$ gpg --verify guno-extension-0.1.4-r1740035-src.tar.gz.asc
gpg: assuming signed data in `guno-extension-0.1.4-r1740035-src.tar.gz'
gpg: Signature made Tue 19 Apr 2016 10:00:01 PM EDT using RSA key ID
9553BF9A
gpg: Good signature from "Carl Marcum (CODE SIGNING KEY)
"
gpg: aka "Carl Marcum (CODE SIGNING KEY)
"

[]$ md5sum --check guno-extension-0.1.4-r1740035-src.zip.md5
guno-extension-0.1.4-r1740035-src.zip: OK
[]$ md5sum --check guno-extension-0.1.4-r1740035-src.tar.gz.md5
guno-extension-0.1.4-r1740035-src.tar.gz: OK

Sorry for the inconvenience.

Thanks,
Carl


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



RE: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2

2016-04-21 Thread Dennis E. Hamilton
I am having a different kind of difficulty.  I think this experience is more 
for the Apache Groovy project, but some of it might apply to our prerequisites 
at .

 1. I chose to use the Groovy 2.4.6 Windows Installer (.exe).

 2. I do have a JRE and a JDK installed, but there is a confusing report, as if 
Groovy can't find it or is not clear which to use.  (I think I have both 32-bit 
and a 64-bit installed.)

 3. Although there is a report that JAVA_HOME needs to be set (it isn't), 
Groovy does find the JRE anyhow.  I think that is because it defaulted to 
32-bit for the install.

 4. The installer sets the search path for Groovy incorrectly.  I am going to 
correct the search path and see how much farther I can get.

 5. I will report some of this to Apache Groovy.

Meanwhile, this awkward since my goal is not to become adept with Groovy and 
Gradle but to see if I can reproduce the tests and confirm the Release 
Candidate.  It is difficult to be confident in what I am doing.

 - Dennis

> -Original Message-
> From: Carl Marcum [mailto:cmar...@apache.org]
> Sent: Wednesday, April 20, 2016 15:38
> To: dev@openoffice.apache.org
> Subject: Re: [DISCUSS][VOTE] Release Groovy UNO Extension 0.1.4-RC2
> 
[ ... ]
> 
> []$ gpg --verify guno-extension-0.1.4-r1740035-src.zip.asc
> gpg: assuming signed data in `guno-extension-0.1.4-r1740035-src.zip'
> gpg: Signature made Wed 20 Apr 2016 06:20:30 PM EDT using RSA key ID
> 9553BF9A
> gpg: Good signature from "Carl Marcum (CODE SIGNING KEY)
> "
> gpg: aka "Carl Marcum (CODE SIGNING KEY)
> "
> []$ gpg --verify guno-extension-0.1.4-r1740035-src.tar.gz.asc
> gpg: assuming signed data in `guno-extension-0.1.4-r1740035-src.tar.gz'
> gpg: Signature made Tue 19 Apr 2016 10:00:01 PM EDT using RSA key ID
> 9553BF9A
> gpg: Good signature from "Carl Marcum (CODE SIGNING KEY)
> "
> gpg: aka "Carl Marcum (CODE SIGNING KEY)
> "
> 
> []$ md5sum --check guno-extension-0.1.4-r1740035-src.zip.md5
> guno-extension-0.1.4-r1740035-src.zip: OK
> []$ md5sum --check guno-extension-0.1.4-r1740035-src.tar.gz.md5
> guno-extension-0.1.4-r1740035-src.tar.gz: OK
> 
> Sorry for the inconvenience.
> 
> Thanks,
> Carl
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org