Re: Org.openide

2017-08-23 Thread Geertjan Wielenga
There's no such thing as 'org.openide.filenames'. Do you mean
'org.openide.filesystems'?

Also, where/how are these JARs used in your project? Sounds to me like your
project is based on the NetBeans Platform.

Thanks,

Gj


On Thu, Aug 24, 2017 at 3:56 AM, Peter kovacs  wrote:

> Hi,
>
> I have pulled the latest code. I guess our reference is more then 6 years
> old. So there could be changes that had happened in the meantime.
> So far it is
> Org.openide.filenames
> Org.openide.util
> Org.openide.util.ui
>
> I am not sure how we should deal with them in future. But good to know of
> the license change.
> Thanks Raphael.
>
> All the best
> Peter
>
> Am 23. August 2017 23:38:52 MESZ schrieb Raphael Bircher <
> rbircherapa...@gmail.com>:
> >Thanks Geertjan, I forward this to the OpenOffice Dev
> >
> >Regards, Raphael
> >
> >Am .08.2017, 23:23 Uhr, schrieb Geertjan Wielenga
> >:
> >
> >> Unclear to me which module or which class or which anything
> >specifically
> >> is
> >> referred to here. But, yes, in general, 'openide' is typically some
> >thing
> >> like 'org.openide.xxx' where xxx is something specific (hence I
> >really
> >> need
> >> more details than 'openide') which will all be part of the 1st code
> >> donation, since 'org.openide.xxx' are an indication of the oldest
> >modules
> >> of NetBeans, part of the core of the NetBeans Platform.
> >>
> >> Gj
> >>
> >> On Wed, Aug 23, 2017 at 11:01 PM, Raphael Bircher
> >> 
> >> wrote:
> >>
> >>> Hi all
> >>>
> >>> Since NetBeans is an Apache Incubator Project, there is maybe a
> >chance
> >>> to
> >>> get the source under ALv2.
> >>>
> >>> Geertjan is this possible?
> >>>
> >>> Regards, Raphael
> >>>
> >>> CCed NetBeans dev.
> >>>
> >>> Am .08.2017, 15:10 Uhr, schrieb Peter kovacs :
> >>>
> >>> After a long search I have found the code in question in NetBeans
>  repository.
> 
>  License is GPL v2 _or_ CDDL v1. :(
>  You got to love Oracle for their ways.
> 
>  Hmm I think I will try to import the code in my workspace under
> >given
>  License. And then check if we really need this stuff. if no one
> >knows
>  anything, I opt for retiring the code pieces.
>  Can try to replace the code and only move the dependency out, if
> >there
>  is
>  request for it. But we will carry the mess longer around, since I
> >am
>  slowly
>  moving.
> 
>  All the best
>  peter
> 
> 
>  Am 23. August 2017 13:57:18 MESZ schrieb Matthias Seidel <
>  matthias.sei...@hamburg.de>:
> 
> > Am 23.08.2017 um 12:44 schrieb Peter kovacs:
> >
> >> I have checked the link already. The only hint I see is the
> >module
> >>
> > declaration. Have you NetBeans installed?
> >
> > No, I haven't.
> > I only sent the link in case you didn't know about OpenGrok... ;-)
> >
> >
> >>
> >> Am 23. August 2017 00:32:44 MESZ schrieb Matthias Seidel
> >>
> > :
> >
> >> Hi Peter,
> >>>
> >>> Maybe this link can help:
> >>>
> >>> http://opengrok.adfinis-sygroup.org/source/s?n=25&start=0&;
> > sort=relevancy&q=openide&project=aoo-trunk
> >
> >>
> >>> Matthias
> >>>
> >>>
> >>> Am 23.08.2017 um 00:24 schrieb Peter kovacs:
> >>>
>  Hello all,
> 
>  Can somebody tell me where the module openide is hiding?
> 
>  My theory is it is in NetBeans. But on the NetBeans page they
> >only
> 
> >>> have a very old version where I can find traces.
> >>>
>  I guess no one can explain if my theory is right why we added
> >the
> 
> >>> dependency?
> >>>
>  Thanks for the help.
> 
>  All the best
>  Peter
>  (By the way this is the first of 85 000 errors in eclipse after
> 
> >>> import without eclipse actually breaking. This will take some
> >time,
> >>>
> >> but
> >
> >> I get better! :) )
> >>>
> 
> 
> >-
> >
> >> 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
> 
> 
> >>>
> >>> --
> >>> My introduction https://youtu.be/Ln4vly5sxYU
> >>>
>


Re: FORMULA PROBLEMS READING EXCEL FILES

2017-08-23 Thread Peter kovacs
Hi Don,

I tried your formulas in excel and it was not accepted.
I suggest to replace "," with ";" and if you use < or > you need to give values 
on both sides. 
Example for working functions in excel and in OpenOffice :
=IF(B1<0;"-";A1-B1)
=IF(b1<0;3;4)

Btw it is Apache OpenOffice. ;)

Hth
Peter

Am 24. August 2017 06:18:40 MESZ schrieb Donald McLean 
:
>Hi, Good folks at Apache, I’m having trouble that a formula [ =IF(B1<0,
>"-",SUM(A1-B1)) ] which works fine in Excel, translates as an Error 509
>whatever that is. In trying to correct it I find that Apache OneOffice
>on a Mac won’t process the maths concept < or > any number, e.g. =IF (
>b1<0, 3,4) won’t evaluate - I get the error ERROR 508. Can you please
>help, Kind Regards Don McLean

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



FORMULA PROBLEMS READING EXCEL FILES

2017-08-23 Thread Donald McLean
Hi, Good folks at Apache, I’m having trouble that a formula [ =IF(B1<0, 
"-",SUM(A1-B1)) ] which works fine in Excel, translates as an Error 509 
whatever that is. In trying to correct it I find that Apache OneOffice on a Mac 
won’t process the maths concept < or > any number, e.g. =IF ( b1<0, 3,4) won’t 
evaluate - I get the error ERROR 508. Can you please help, Kind Regards Don 
McLean



Re: Org.openide

2017-08-23 Thread Peter kovacs
Hi,

I have pulled the latest code. I guess our reference is more then 6 years old. 
So there could be changes that had happened in the meantime.
So far it is
Org.openide.filenames
Org.openide.util
Org.openide.util.ui

I am not sure how we should deal with them in future. But good to know of the 
license change.
Thanks Raphael.

All the best
Peter

Am 23. August 2017 23:38:52 MESZ schrieb Raphael Bircher 
:
>Thanks Geertjan, I forward this to the OpenOffice Dev
>
>Regards, Raphael
>
>Am .08.2017, 23:23 Uhr, schrieb Geertjan Wielenga  
>:
>
>> Unclear to me which module or which class or which anything
>specifically  
>> is
>> referred to here. But, yes, in general, 'openide' is typically some
>thing
>> like 'org.openide.xxx' where xxx is something specific (hence I
>really  
>> need
>> more details than 'openide') which will all be part of the 1st code
>> donation, since 'org.openide.xxx' are an indication of the oldest
>modules
>> of NetBeans, part of the core of the NetBeans Platform.
>>
>> Gj
>>
>> On Wed, Aug 23, 2017 at 11:01 PM, Raphael Bircher  
>> 
>> wrote:
>>
>>> Hi all
>>>
>>> Since NetBeans is an Apache Incubator Project, there is maybe a
>chance  
>>> to
>>> get the source under ALv2.
>>>
>>> Geertjan is this possible?
>>>
>>> Regards, Raphael
>>>
>>> CCed NetBeans dev.
>>>
>>> Am .08.2017, 15:10 Uhr, schrieb Peter kovacs :
>>>
>>> After a long search I have found the code in question in NetBeans
 repository.

 License is GPL v2 _or_ CDDL v1. :(
 You got to love Oracle for their ways.

 Hmm I think I will try to import the code in my workspace under
>given
 License. And then check if we really need this stuff. if no one
>knows
 anything, I opt for retiring the code pieces.
 Can try to replace the code and only move the dependency out, if
>there  
 is
 request for it. But we will carry the mess longer around, since I
>am  
 slowly
 moving.

 All the best
 peter


 Am 23. August 2017 13:57:18 MESZ schrieb Matthias Seidel <
 matthias.sei...@hamburg.de>:

> Am 23.08.2017 um 12:44 schrieb Peter kovacs:
>
>> I have checked the link already. The only hint I see is the
>module
>>
> declaration. Have you NetBeans installed?
>
> No, I haven't.
> I only sent the link in case you didn't know about OpenGrok... ;-)
>
>
>>
>> Am 23. August 2017 00:32:44 MESZ schrieb Matthias Seidel
>>
> :
>
>> Hi Peter,
>>>
>>> Maybe this link can help:
>>>
>>> http://opengrok.adfinis-sygroup.org/source/s?n=25&start=0&;
> sort=relevancy&q=openide&project=aoo-trunk
>
>>
>>> Matthias
>>>
>>>
>>> Am 23.08.2017 um 00:24 schrieb Peter kovacs:
>>>
 Hello all,

 Can somebody tell me where the module openide is hiding?

 My theory is it is in NetBeans. But on the NetBeans page they
>only

>>> have a very old version where I can find traces.
>>>
 I guess no one can explain if my theory is right why we added
>the

>>> dependency?
>>>
 Thanks for the help.

 All the best
 Peter
 (By the way this is the first of 85 000 errors in eclipse after

>>> import without eclipse actually breaking. This will take some
>time,
>>>
>> but
>
>> I get better! :) )
>>>


>-
>
>> 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


>>>
>>> --
>>> My introduction https://youtu.be/Ln4vly5sxYU
>>>

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



Re: Org.openide

2017-08-23 Thread Raphael Bircher

Thanks Geertjan, I forward this to the OpenOffice Dev

Regards, Raphael

Am .08.2017, 23:23 Uhr, schrieb Geertjan Wielenga  
:


Unclear to me which module or which class or which anything specifically  
is

referred to here. But, yes, in general, 'openide' is typically some thing
like 'org.openide.xxx' where xxx is something specific (hence I really  
need

more details than 'openide') which will all be part of the 1st code
donation, since 'org.openide.xxx' are an indication of the oldest modules
of NetBeans, part of the core of the NetBeans Platform.

Gj

On Wed, Aug 23, 2017 at 11:01 PM, Raphael Bircher  


wrote:


Hi all

Since NetBeans is an Apache Incubator Project, there is maybe a chance  
to

get the source under ALv2.

Geertjan is this possible?

Regards, Raphael

CCed NetBeans dev.

Am .08.2017, 15:10 Uhr, schrieb Peter kovacs :

After a long search I have found the code in question in NetBeans

repository.

License is GPL v2 _or_ CDDL v1. :(
You got to love Oracle for their ways.

Hmm I think I will try to import the code in my workspace under given
License. And then check if we really need this stuff. if no one knows
anything, I opt for retiring the code pieces.
Can try to replace the code and only move the dependency out, if there  
is
request for it. But we will carry the mess longer around, since I am  
slowly

moving.

All the best
peter


Am 23. August 2017 13:57:18 MESZ schrieb Matthias Seidel <
matthias.sei...@hamburg.de>:


Am 23.08.2017 um 12:44 schrieb Peter kovacs:


I have checked the link already. The only hint I see is the module


declaration. Have you NetBeans installed?

No, I haven't.
I only sent the link in case you didn't know about OpenGrok... ;-)




Am 23. August 2017 00:32:44 MESZ schrieb Matthias Seidel


:


Hi Peter,


Maybe this link can help:

http://opengrok.adfinis-sygroup.org/source/s?n=25&start=0&;

sort=relevancy&q=openide&project=aoo-trunk




Matthias


Am 23.08.2017 um 00:24 schrieb Peter kovacs:


Hello all,

Can somebody tell me where the module openide is hiding?

My theory is it is in NetBeans. But on the NetBeans page they only


have a very old version where I can find traces.


I guess no one can explain if my theory is right why we added the


dependency?


Thanks for the help.

All the best
Peter
(By the way this is the first of 85 000 errors in eclipse after


import without eclipse actually breaking. This will take some time,


but



I get better! :) )




-



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




--
My introduction https://youtu.be/Ln4vly5sxYU




--
My introduction https://youtu.be/Ln4vly5sxYU

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



Re: Org.openide

2017-08-23 Thread Raphael Bircher

Hi all

Since NetBeans is an Apache Incubator Project, there is maybe a chance to  
get the source under ALv2.


Geertjan is this possible?

Regards, Raphael

CCed NetBeans dev.

Am .08.2017, 15:10 Uhr, schrieb Peter kovacs :

After a long search I have found the code in question in NetBeans  
repository.


License is GPL v2 _or_ CDDL v1. :(
You got to love Oracle for their ways.

Hmm I think I will try to import the code in my workspace under given  
License. And then check if we really need this stuff. if no one knows  
anything, I opt for retiring the code pieces.
Can try to replace the code and only move the dependency out, if there  
is request for it. But we will carry the mess longer around, since I am  
slowly moving.


All the best
peter


Am 23. August 2017 13:57:18 MESZ schrieb Matthias Seidel  
:

Am 23.08.2017 um 12:44 schrieb Peter kovacs:

I have checked the link already. The only hint I see is the module

declaration. Have you NetBeans installed?

No, I haven't.
I only sent the link in case you didn't know about OpenGrok... ;-)




Am 23. August 2017 00:32:44 MESZ schrieb Matthias Seidel

:

Hi Peter,

Maybe this link can help:


http://opengrok.adfinis-sygroup.org/source/s?n=25&start=0&sort=relevancy&q=openide&project=aoo-trunk


Matthias


Am 23.08.2017 um 00:24 schrieb Peter kovacs:

Hello all,

Can somebody tell me where the module openide is hiding?

My theory is it is in NetBeans. But on the NetBeans page they only

have a very old version where I can find traces.

I guess no one can explain if my theory is right why we added the

dependency?

Thanks for the help.

All the best
Peter
(By the way this is the first of 85 000 errors in eclipse after

import without eclipse actually breaking. This will take some time,

but

I get better! :) )



-

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




--
My introduction https://youtu.be/Ln4vly5sxYU

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



Re: Committed: new database driver for PostgreSQL, SDBCX API for Java

2017-08-23 Thread Damjan Jovanovic
I've patched external_deps.lst, and as of revision 1805933, AOO should
build even without --enable-wiki-publisher.

On Tue, Aug 22, 2017 at 11:04 PM, Matthias Seidel <
matthias.sei...@hamburg.de> wrote:

> Am 21.08.2017 um 19:14 schrieb Damjan Jovanovic:
> > Yes. Well done on finding it. You can make the dependency unconditional,
> > just like I've done with sdbc_postgres itself.
>
> As a workaround the Windows buildbot builds now with
> "--enable-wiki-publisher"
>
> But the Linux64 bot breaks even with that switch. Could you please have
> a look at:
> https://ci.apache.org/projects/openoffice/buildlogs/
> linux64/main/connectivity/unxlngx6.pro/misc/logs/java.sdbc_postgresql.txt
>
> > On Monday, August 21, 2017, Matthias Seidel 
> > wrote:
> >
> >> Hi Damjan,
> >>
> >> I think the "problem" is in "external_deps.lst":
> >>
> >> ---
> >> if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES)
> >> MD5 = 4c8c505cc3cba4c467c479e3e0f09ba4
> >> name = commons-lang3-3.3-src.tar.gz
> >> URL1 = http://archive.apache.org/dist/commons/lang/source/$(name)
> >> URL2 = $(OOO_EXTRAS)$(MD5)-$(name)
> >> ---
> >>
> >> The Windows build is running at the moment. Looks good so far!
> >>
> >> If it is successful Rev. 1805579 can be found here:
> >> https://www.openoffice.org/download/devbuilds.html
> >>
> >> Matthias
> >>
> >>
> >> Am 21.08.2017 um 17:09 schrieb Damjan Jovanovic:
> >>> My module uses Apache Commons Lang. Maybe I didn't patch configure.ac
> >>> properly, or maybe you have to run autoconf on that buildbot before
> >>> ./configure? I can't check for the next few days.
> >>>
> >>> On Monday, August 21, 2017, Matthias Seidel <
> matthias.sei...@hamburg.de
> >> >
> >>> wrote:
> >>>
>  Hi Damian,
> 
>  Maybe it is because we build without Wiki publisher. (What is it good
> >> for?
>  I have never seen a working Wiki publisher in the past years...)
> 
>  I have now enabled it (--enable-wiki-publisher), let us wait for a new
>  build...
> 
>  Regards, Matthias
> 
>  Am 21.08.2017 um 14:36 schrieb Matthias Seidel:
> 
>  Hi Damian,
> 
>  That sounds good!
> 
>  Unfortunately your commit seems to break the build on our
> buildbot(Win10
>  64bit/Java 8):
>  https://ci.apache.org/projects/openoffice/buildlogs/
>  win/log/wntmsci12.pro.build.html
> 
>  ---1 module(s):
>   apache-commons
>  need(s) to be rebuilt
> 
>  Reason(s):
> 
>  ERROR: error 65280 occurred while making /cygdrive/e/slave14/aoo-win7/
> >> build/main/apache-commons/java/lang
>  When you have fixed the errors in that module you can resume the build
> >> by running:
>   build --from apache-commons
> 
>  ---
>  dmake:  Error: -- `../../wntmsci12.pro/misc/
> >> 4c8c505cc3cba4c467c479e3e0f09ba4-commons-lang3-3.3-src.unpack' not
> found,
> >> and can't be made
>  ---
> 
>  Regards, Matthias
> 
> 
>  Am 20.08.2017 um 21:34 schrieb Damjan Jovanovic:
> 
>  Hi
> 
>  In revision 1805579 I committed a large patch to AOO, that implements
> a
>  whole new database connector, for the PostgreSQL database.
> 
>  It's the real deal, a new UNO component, 57 files, 9607 lines of code,
>  about 4 months in the pipeline. It's 100% in Java, and while
> developing
> >> it
>  I've also written a lot of SDBCX helper classes, loosely based on the
> >> C++
>  ones we already have, which will make writing future Java-based
> database
>  drivers much easier :).
> 
>  Ok so it's still in its early alpha stages, maybe 50% finished, and
> will
>  need considerable further development, so definitely not recommended
> for
>  production use yet, but it already supports some things that are
> broken
> >> in
>  LibreOffice's PostgreSQL driver ;).
> 
>  I would have preferred to wait until it was more complete before
>  committing, but I thought now is a good time, as there is talk of
> >> project
>  inactivity, help from others would be welcome, and "release early,
> >> release
>  often" is the open-source way.
> 
>  It's already integrated into the build, but if you want to contribute
> to
>  development, it could not be easier: the Ant project opens in Eclipse
> >> (open
>  main/connectivity/java/sdbc_postgresql/build.xml using "Java Project
> >> from
>  Existing Ant Buildfile"), it builds in 2 seconds, and can be easily
>  debugged (in AOO, Tools -> Options, Java, Parameters, add:
>  "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000"
>  and attach the remote debugger from Eclipse).
> 
>  To use it, you need the PostgreSQL JDBC JAR file in your classpath (we
>  should probably ship it to users instead of requiring them to download
> >> and
>  configure it in their AOO Tools -> Options, Java, Class Path). In the
>  database wizard, choose "Connect to an existing database" 

Re: Committed: new database driver for PostgreSQL, SDBCX API for Java

2017-08-23 Thread Matthias Seidel
It seems that Java 8 (Oracle) was already installed on Linux64 buildbot.
I changed the configuration and forced a new build.

Additionally I added French and Italian language to our builds for trunk.

Matthias


Am 23.08.2017 um 12:30 schrieb Matthias Seidel:
> Am 23.08.2017 um 02:41 schrieb Damjan Jovanovic:
>> The toUnsignedXxx() methods are from Java 8 :-/. Maybe I can rewrite that
>> part of the code to use 7.
> I personally would go with Java 8 for 4.2.0 (trunk)... But that needs to
> be discussed.
>
> Indeed, the buildbot has Java 7 installed
> "--with-jdk-home="/usr/lib/jvm/java-7-openjdk-amd64" \"
> I will ask Infra to (additionally) install Java 8 for Linux64.
>
>> On Tue, Aug 22, 2017 at 11:04 PM, Matthias Seidel <
>> matthias.sei...@hamburg.de> wrote:
>>
>>> Am 21.08.2017 um 19:14 schrieb Damjan Jovanovic:
 Yes. Well done on finding it. You can make the dependency unconditional,
 just like I've done with sdbc_postgres itself.
>>> As a workaround the Windows buildbot builds now with
>>> "--enable-wiki-publisher"
>>>
>>> But the Linux64 bot breaks even with that switch. Could you please have
>>> a look at:
>>> https://ci.apache.org/projects/openoffice/buildlogs/
>>> linux64/main/connectivity/unxlngx6.pro/misc/logs/java.sdbc_postgresql.txt
>>>
 On Monday, August 21, 2017, Matthias Seidel 
 wrote:

> Hi Damjan,
>
> I think the "problem" is in "external_deps.lst":
>
> ---
> if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES)
> MD5 = 4c8c505cc3cba4c467c479e3e0f09ba4
> name = commons-lang3-3.3-src.tar.gz
> URL1 = http://archive.apache.org/dist/commons/lang/source/$(name)
> URL2 = $(OOO_EXTRAS)$(MD5)-$(name)
> ---
>
> The Windows build is running at the moment. Looks good so far!
>
> If it is successful Rev. 1805579 can be found here:
> https://www.openoffice.org/download/devbuilds.html
>
> Matthias
>
>
> Am 21.08.2017 um 17:09 schrieb Damjan Jovanovic:
>> My module uses Apache Commons Lang. Maybe I didn't patch configure.ac
>> properly, or maybe you have to run autoconf on that buildbot before
>> ./configure? I can't check for the next few days.
>>
>> On Monday, August 21, 2017, Matthias Seidel <
>>> matthias.sei...@hamburg.de
> >
>> wrote:
>>
>>> Hi Damian,
>>>
>>> Maybe it is because we build without Wiki publisher. (What is it good
> for?
>>> I have never seen a working Wiki publisher in the past years...)
>>>
>>> I have now enabled it (--enable-wiki-publisher), let us wait for a new
>>> build...
>>>
>>> Regards, Matthias
>>>
>>> Am 21.08.2017 um 14:36 schrieb Matthias Seidel:
>>>
>>> Hi Damian,
>>>
>>> That sounds good!
>>>
>>> Unfortunately your commit seems to break the build on our
>>> buildbot(Win10
>>> 64bit/Java 8):
>>> https://ci.apache.org/projects/openoffice/buildlogs/
>>> win/log/wntmsci12.pro.build.html
>>>
>>> ---1 module(s):
>>>  apache-commons
>>> need(s) to be rebuilt
>>>
>>> Reason(s):
>>>
>>> ERROR: error 65280 occurred while making /cygdrive/e/slave14/aoo-win7/
> build/main/apache-commons/java/lang
>>> When you have fixed the errors in that module you can resume the build
> by running:
>>>  build --from apache-commons
>>>
>>> ---
>>> dmake:  Error: -- `../../wntmsci12.pro/misc/
> 4c8c505cc3cba4c467c479e3e0f09ba4-commons-lang3-3.3-src.unpack' not
>>> found,
> and can't be made
>>> ---
>>>
>>> Regards, Matthias
>>>
>>>
>>> Am 20.08.2017 um 21:34 schrieb Damjan Jovanovic:
>>>
>>> Hi
>>>
>>> In revision 1805579 I committed a large patch to AOO, that implements
>>> a
>>> whole new database connector, for the PostgreSQL database.
>>>
>>> It's the real deal, a new UNO component, 57 files, 9607 lines of code,
>>> about 4 months in the pipeline. It's 100% in Java, and while
>>> developing
> it
>>> I've also written a lot of SDBCX helper classes, loosely based on the
> C++
>>> ones we already have, which will make writing future Java-based
>>> database
>>> drivers much easier :).
>>>
>>> Ok so it's still in its early alpha stages, maybe 50% finished, and
>>> will
>>> need considerable further development, so definitely not recommended
>>> for
>>> production use yet, but it already supports some things that are
>>> broken
> in
>>> LibreOffice's PostgreSQL driver ;).
>>>
>>> I would have preferred to wait until it was more complete before
>>> committing, but I thought now is a good time, as there is talk of
> project
>>> inactivity, help from others would be welcome, and "release early,
> release
>>> often" is the open-source way.
>>>
>>> It's already integrated into the build, but if you want to contribute
>>> to
>>> development, it could not be easier:

Re: Org.openide

2017-08-23 Thread Peter kovacs
After a long search I have found the code in question in NetBeans repository.

License is GPL v2 _or_ CDDL v1. :(
You got to love Oracle for their ways.

Hmm I think I will try to import the code in my workspace under given License. 
And then check if we really need this stuff. if no one knows anything, I opt 
for retiring the code pieces.
Can try to replace the code and only move the dependency out, if there is 
request for it. But we will carry the mess longer around, since I am slowly 
moving.

All the best 
peter


Am 23. August 2017 13:57:18 MESZ schrieb Matthias Seidel 
:
>Am 23.08.2017 um 12:44 schrieb Peter kovacs:
>> I have checked the link already. The only hint I see is the module
>declaration. Have you NetBeans installed?
>
>No, I haven't.
>I only sent the link in case you didn't know about OpenGrok... ;-)
>
>>
>>
>> Am 23. August 2017 00:32:44 MESZ schrieb Matthias Seidel
>:
>>> Hi Peter,
>>>
>>> Maybe this link can help:
>>>
>http://opengrok.adfinis-sygroup.org/source/s?n=25&start=0&sort=relevancy&q=openide&project=aoo-trunk
>>>
>>> Matthias
>>>
>>>
>>> Am 23.08.2017 um 00:24 schrieb Peter kovacs:
 Hello all,

 Can somebody tell me where the module openide is hiding?

 My theory is it is in NetBeans. But on the NetBeans page they only
>>> have a very old version where I can find traces.
 I guess no one can explain if my theory is right why we added the
>>> dependency?
 Thanks for the help.

 All the best
 Peter
 (By the way this is the first of 85 000 errors in eclipse after
>>> import without eclipse actually breaking. This will take some time,
>but
>>> I get better! :) )

>-
 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: Org.openide

2017-08-23 Thread Matthias Seidel
Am 23.08.2017 um 12:44 schrieb Peter kovacs:
> I have checked the link already. The only hint I see is the module 
> declaration. Have you NetBeans installed?

No, I haven't.
I only sent the link in case you didn't know about OpenGrok... ;-)

>
>
> Am 23. August 2017 00:32:44 MESZ schrieb Matthias Seidel 
> :
>> Hi Peter,
>>
>> Maybe this link can help:
>> http://opengrok.adfinis-sygroup.org/source/s?n=25&start=0&sort=relevancy&q=openide&project=aoo-trunk
>>
>> Matthias
>>
>>
>> Am 23.08.2017 um 00:24 schrieb Peter kovacs:
>>> Hello all,
>>>
>>> Can somebody tell me where the module openide is hiding?
>>>
>>> My theory is it is in NetBeans. But on the NetBeans page they only
>> have a very old version where I can find traces.
>>> I guess no one can explain if my theory is right why we added the
>> dependency?
>>> Thanks for the help.
>>>
>>> All the best
>>> Peter
>>> (By the way this is the first of 85 000 errors in eclipse after
>> import without eclipse actually breaking. This will take some time, but
>> I get better! :) )
>>> -
>>> 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
>




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Org.openide

2017-08-23 Thread Peter kovacs
I have checked the link already. The only hint I see is the module declaration. 
Have you NetBeans installed?


Am 23. August 2017 00:32:44 MESZ schrieb Matthias Seidel 
:
>Hi Peter,
>
>Maybe this link can help:
>http://opengrok.adfinis-sygroup.org/source/s?n=25&start=0&sort=relevancy&q=openide&project=aoo-trunk
>
>Matthias
>
>
>Am 23.08.2017 um 00:24 schrieb Peter kovacs:
>> Hello all,
>>
>> Can somebody tell me where the module openide is hiding?
>>
>> My theory is it is in NetBeans. But on the NetBeans page they only
>have a very old version where I can find traces.
>>
>> I guess no one can explain if my theory is right why we added the
>dependency?
>>
>> Thanks for the help.
>>
>> All the best
>> Peter
>> (By the way this is the first of 85 000 errors in eclipse after
>import without eclipse actually breaking. This will take some time, but
>I get better! :) )
>>
>> -
>> 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: Committed: new database driver for PostgreSQL, SDBCX API for Java

2017-08-23 Thread Matthias Seidel
Am 23.08.2017 um 02:41 schrieb Damjan Jovanovic:
> The toUnsignedXxx() methods are from Java 8 :-/. Maybe I can rewrite that
> part of the code to use 7.

I personally would go with Java 8 for 4.2.0 (trunk)... But that needs to
be discussed.

Indeed, the buildbot has Java 7 installed
"--with-jdk-home="/usr/lib/jvm/java-7-openjdk-amd64" \"
I will ask Infra to (additionally) install Java 8 for Linux64.

>
> On Tue, Aug 22, 2017 at 11:04 PM, Matthias Seidel <
> matthias.sei...@hamburg.de> wrote:
>
>> Am 21.08.2017 um 19:14 schrieb Damjan Jovanovic:
>>> Yes. Well done on finding it. You can make the dependency unconditional,
>>> just like I've done with sdbc_postgres itself.
>> As a workaround the Windows buildbot builds now with
>> "--enable-wiki-publisher"
>>
>> But the Linux64 bot breaks even with that switch. Could you please have
>> a look at:
>> https://ci.apache.org/projects/openoffice/buildlogs/
>> linux64/main/connectivity/unxlngx6.pro/misc/logs/java.sdbc_postgresql.txt
>>
>>> On Monday, August 21, 2017, Matthias Seidel 
>>> wrote:
>>>
 Hi Damjan,

 I think the "problem" is in "external_deps.lst":

 ---
 if (SOLAR_JAVA==TRUE && ENABLE_MEDIAWIKI==YES)
 MD5 = 4c8c505cc3cba4c467c479e3e0f09ba4
 name = commons-lang3-3.3-src.tar.gz
 URL1 = http://archive.apache.org/dist/commons/lang/source/$(name)
 URL2 = $(OOO_EXTRAS)$(MD5)-$(name)
 ---

 The Windows build is running at the moment. Looks good so far!

 If it is successful Rev. 1805579 can be found here:
 https://www.openoffice.org/download/devbuilds.html

 Matthias


 Am 21.08.2017 um 17:09 schrieb Damjan Jovanovic:
> My module uses Apache Commons Lang. Maybe I didn't patch configure.ac
> properly, or maybe you have to run autoconf on that buildbot before
> ./configure? I can't check for the next few days.
>
> On Monday, August 21, 2017, Matthias Seidel <
>> matthias.sei...@hamburg.de
 >
> wrote:
>
>> Hi Damian,
>>
>> Maybe it is because we build without Wiki publisher. (What is it good
 for?
>> I have never seen a working Wiki publisher in the past years...)
>>
>> I have now enabled it (--enable-wiki-publisher), let us wait for a new
>> build...
>>
>> Regards, Matthias
>>
>> Am 21.08.2017 um 14:36 schrieb Matthias Seidel:
>>
>> Hi Damian,
>>
>> That sounds good!
>>
>> Unfortunately your commit seems to break the build on our
>> buildbot(Win10
>> 64bit/Java 8):
>> https://ci.apache.org/projects/openoffice/buildlogs/
>> win/log/wntmsci12.pro.build.html
>>
>> ---1 module(s):
>>  apache-commons
>> need(s) to be rebuilt
>>
>> Reason(s):
>>
>> ERROR: error 65280 occurred while making /cygdrive/e/slave14/aoo-win7/
 build/main/apache-commons/java/lang
>> When you have fixed the errors in that module you can resume the build
 by running:
>>  build --from apache-commons
>>
>> ---
>> dmake:  Error: -- `../../wntmsci12.pro/misc/
 4c8c505cc3cba4c467c479e3e0f09ba4-commons-lang3-3.3-src.unpack' not
>> found,
 and can't be made
>> ---
>>
>> Regards, Matthias
>>
>>
>> Am 20.08.2017 um 21:34 schrieb Damjan Jovanovic:
>>
>> Hi
>>
>> In revision 1805579 I committed a large patch to AOO, that implements
>> a
>> whole new database connector, for the PostgreSQL database.
>>
>> It's the real deal, a new UNO component, 57 files, 9607 lines of code,
>> about 4 months in the pipeline. It's 100% in Java, and while
>> developing
 it
>> I've also written a lot of SDBCX helper classes, loosely based on the
 C++
>> ones we already have, which will make writing future Java-based
>> database
>> drivers much easier :).
>>
>> Ok so it's still in its early alpha stages, maybe 50% finished, and
>> will
>> need considerable further development, so definitely not recommended
>> for
>> production use yet, but it already supports some things that are
>> broken
 in
>> LibreOffice's PostgreSQL driver ;).
>>
>> I would have preferred to wait until it was more complete before
>> committing, but I thought now is a good time, as there is talk of
 project
>> inactivity, help from others would be welcome, and "release early,
 release
>> often" is the open-source way.
>>
>> It's already integrated into the build, but if you want to contribute
>> to
>> development, it could not be easier: the Ant project opens in Eclipse
 (open
>> main/connectivity/java/sdbc_postgresql/build.xml using "Java Project
 from
>> Existing Ant Buildfile"), it builds in 2 seconds, and can be easily
>> debugged (in AOO, Tools -> Options, Java, Parameters, add:
>> "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000"
>> and attach the remote debugger from Eclipse).
>