Re: User data storage

2014-02-13 Thread jonasalfreds...@gmail.com
I recommend the DevGuide [1] and the related configuration chapter. And
SDK contains a sample in Java that shows how to access the configuration.

I'm new to this and has just recently completed my first build of the aoo.
The code I'm looking at is C++ in the cui module and not Java. Is it not
right that Java is used for users to develop extensions and addins not for
correcting aoo bugs. My aim is to commit a bugfix to the aoo codebase. What
I am looking for is pointers into the C++ codebase where user configuration
is read and written. Is this not the correct forum for aoo developers, but
aoo addin developers?

You probably have to define a new schema first to store your data. For
testing you can do that via an extension and you can use Java to play
around with the API.


[1]
https://wiki.openoffice.org/wiki/Documentation/DevGuide/Config/Configuration_Management

Juergen


/Jonas



--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/User-data-storage-tp4658954p4658974.html
Sent from the Development mailing list archive at Nabble.com.

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



Re: config error on Windows 7

2014-01-22 Thread jonasalfreds...@gmail.com
The searched registry key does not exist, but registry key 
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Setup\VC 
exists which is somehow found by the oowintool - see sub 
reg_get_value($) in oowintool. I observed this situation on three 
Windows 7 machine (virtual ones and non-virtual ones) on which I have 
setup an AOO build environment. 

Did you found the same registry key on your system? 

I found the key on my system aswell but in my case oowintool does not find
it.




--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/config-error-on-Windows-7-tp4652383p4658198.html
Sent from the Development mailing list archive at Nabble.com.

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



Re: Building on Windows 7

2014-01-17 Thread jonasalfreds...@gmail.com
Same result when running cygwin as administrator.





--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/Building-on-Windows-7-tp4657909p4657970.html
Sent from the Development mailing list archive at Nabble.com.

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



Re: config error on Windows 7

2014-01-16 Thread jonasalfreds...@gmail.com
Hi,

 Does this path/directory - C:\Program Files\Microsoft SDKs\Windows\v7.0\ 
 - exist on your system?

The path exist, however there was a key missing in the registry.
Installing Visual studio express did not add the key specifying where to
find VC. I simply added the key oowintool was looking for on line 236.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Setup\VC\ProductDir 
and gave it the value C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC

After that the configure and bootstrap steps executed ok, as far as I can
see.

/Jonas



--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/config-error-on-Windows-7-tp4652383p4657907.html
Sent from the Development mailing list archive at Nabble.com.

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



Building on Windows 7

2014-01-16 Thread jonasalfreds...@gmail.com
Hi,

I'm trying to build Open Office from trunk on Windows 7. Had some trouble
getting through the configure and bootstrap but finally now building step is
starting. A few modules into the build the following error occurs in module
jpeg:

jonasalfredsson@TOMMY-TUMULT
/cygdrive/c/source/aoo-trunk/main/instsetoo_native

$ build --all:jpeg
build -- version: 275224

=
Building module jpeg
=

Entering /cygdrive/c/source/aoo-trunk/main/jpeg

mkdir: cannot create directory `./wntmsci12.pro/misc/build/jpeg-8d/': File
exists
/usr/bin/bash: line 1:  3612 Segmentation fault  (core dumped) dmake
dmake:  Error code 139, while making
'./wntmsci12.pro/misc/build/so_built_jpeg'

1 module(s): jpeg need(s) to be rebuilt

Reason(s): ERROR: error 65280 occurred while making
/cygdrive/c/source/aoo-trunk/main/jpeg


I have no clue to where to begin looking for the source to this error
message. Any hints would be very helpful.

Thanks

/Jonas



--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/Building-on-Windows-7-tp4657909.html
Sent from the Development mailing list archive at Nabble.com.

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



Re: Building on Windows 7

2014-01-16 Thread jonasalfreds...@gmail.com
Running build a second time produce the following:

jonasalfredsson@TOMMY-TUMULT
/cygdrive/c/source/aoo-trunk/main/instsetoo_native
$ build --all:jpeg
build -- version: 275224

=
Building module jpeg
=

Entering /cygdrive/c/source/aoo-trunk/main/jpeg

mkdir: cannot create directory `./wntmsci12.pro/misc/build/jpeg-8d/': File
exists
/usr/bin/bash: line 1:  9236 Segmentation fault  (core dumped) dmake
dmake:  Error code 139, while making
'./wntmsci12.pro/misc/build/so_built_jpeg'

1 module(s): jpeg need(s) to be rebuilt

Reason(s): ERROR: error 65280 occurred while making
/cygdrive/c/source/aoo-trunk/main/jpeg

/Jonas




--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/Building-on-Windows-7-tp4657909p4657925.html
Sent from the Development mailing list archive at Nabble.com.

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



Re: config error on Windows 7

2014-01-16 Thread jonasalfreds...@gmail.com
I got hold of a copy of Visual Studio Express 2008. With the configure call
above 'oowintool' was called.
The Win SDK did not add the mentioned key to the registry, nor did Visual
Studio Express 2008 installer.

/Jonas



--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/config-error-on-Windows-7-tp4652383p4657930.html
Sent from the Development mailing list archive at Nabble.com.

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



Re: config error on Windows 7

2014-01-11 Thread jonasalfreds...@gmail.com
Hi,

I have the same problem with my configure call.

I get error: 
Can't find MS Visual Studio / VC++ at ./oowintool line 236.
configure: error: oowintool failed to copy CRT

I tried the solution suggested in earlier posts but no luck.
My configure call looks like this:

SDK_PATH=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.0
./configure \
--with-frame-home=$SDK_PATH \
--with-psdk-home=$SDK_PATH \
--with-midl-path=$SDK_PATH/bin \
--with-directx-home=C:/Program Files (x86)/Microsoft DirectX SDK (June
2010) \
   --with-ant-home=/cygdrive/c/apache-ant-1.8.4 \
   
--with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2;
\
   
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz;
\
--enable-pch \
--disable-atl \
--disable-activex \
--disable-binfilter \
--without-junit


/Jonas




--
View this message in context: 
http://openoffice.2283327.n4.nabble.com/config-error-on-Windows-7-tp4652383p4657734.html
Sent from the Development mailing list archive at Nabble.com.

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