Re: [dev] Re: building openoffice problem

2010-08-23 Thread David Tardon
On Mon, Aug 23, 2010 at 02:59:09PM -0700, Soohong Min wrote:
 Hello,
 
 I'm building OpenOffice 3.2.1.4. I wonder there is a way to install
 some modules.
 Actually I deleted some modules I don't need to install in the middle
 of building.
 After building packimages module, I got some error message including
 some lists I deleted and it indicates that there is dependency
 problems.
 So I cannot install OpenOffce.
 I wonder how I can ignore some modules I don't want.
 Please let me know
 

You can't. If you want to create an install set, you have to build
everything. Later, if you want to work on a specific module, you can
actually remove others. But it will work only as far as you do only
compatible changes and I strongly discourage you to do it.

Out of curiosity: is there really an SW project that is able to handle
removal of part of it's source tree during build? And build (and
install) just that which remains?

D.

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



Re: [dev] Re: building openoffice problem

2010-08-22 Thread David Tardon
On Fri, Aug 20, 2010 at 09:30:40PM +0200, eric b wrote:
 Hi,
 
 Le 20 août 10 à 20:54, Soohong Min a écrit :
 
 
 
 Did you move the sources or modified the directories names since
 the first
 time you did configure ?
 
 Yes. I moved the sources to other computer.
 If so, how can I match with the environment variables contained in the
 LinuxX86Env.Set.sh?
 
 
 
 Redo configure (using the same options as the first time), will
 regenerate a new LinuxX86Env.Set.sh
 
 

Another option is:

cd your oo.o dir
./solenv/bin/relocate `pwd`

This updates bootstrap, Linux*Env.Set* and dependency files in already
built modules.

D.

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



Re: [dev] Re: BUG report

2010-06-29 Thread David Tardon
On Tue, Jun 29, 2010 at 10:57:36AM +0200, Michael Stahl wrote:
 Hi Pranas,
 
 i'm afraid your stack trace is mostly useless to upstream OOo developers,
 because you're not using the upstream build and the addresses in other
 builds are all different.
 
 On 29/06/2010 08:26, Pranas Baliuka wrote:
  (XII)  fedora release is: Fedora release 11 (Leonidas)
 
 it seems that you're using Fedora.
 please file a bug report with Fedora, the nice people there probably can
 resolve the stack to something useful.
 

Hi, Pranas,

I think this problem has already been reported as
http://www.openoffice.org/issues/show_bug.cgi?id=104052 . As Michael
said, bugs in Fedora build of openoffice.org should better be reported
at bugzilla.redhat.com , but, please, don't bother with doing it for
this one. Fedora 11 has reached it's end of life and is no longer
supported.

D.

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



Re: [dev] Re: Problems using %origin% in Setup.xcu

2010-06-09 Thread David Tardon
On Wed, Jun 09, 2010 at 02:48:03PM +0200, Michael Stahl wrote:
 On 09/06/2010 09:50, sponmonster wrote:
  Hi,
  I’m trying to deliver a template within an extension and directly set the
  template as default-template.
  The Setup.xcu code:
  
  […]
 node oor:name=Office
  node oor:name=Factories 
  node oor:name=com.sun.star.text.TextDocument
  prop oor:name=ooSetupFactoryTemplateFile 
  oor:type=xs:string
  
  value%origin%/templates/standard.ott/value
  /prop
  /node
  /node
  /node
  […]
  
  The Problem is that everything works fine except of one thing, when I open a
  new file I get an error message. OpenOffice opens the correct default
  template from the extension and nothing seems to be wrong except of that
  message I get: (sorry it’s german – the message is: “general error”) 
  http://old.nabble.com/file/p28827026/allgemeiner_fehler.jpg 
  I really don’t know what to do.
  I’ve tried to change the template, or the location nothing worked
  
  Everything works when I change the location of the template and use an
  absolute path, or another placeholder like $(user) but I need to deliver the
  template in the extension and use it from the extension
  
  The only problem is the usage of %origin% to find my extension and the
  template in the extension.
 
 i think i remember this problem:
 it occurs when importing the RDF metadata.
 the %origin% corresponds to a vnd.sun.star.expand: URI, and such URIs are
 not hierarchical.
 thus trying to use such an URI to create an absolute URI from a relative
 URI fails.
 
 [there are lots of other places in the import that need to do this, but in
 contrast to the RDF metadata import they use some ancient deprecated crud
 from the tools module to make URIs absolute, which apparently happily
 performs this invalid operation]
 
 i believe fs wanted to create some new mechanism to refer to extension
 content that could be used in place of %origin% and would work in this use
 case.
 
 i wonder what is the status of that?
 

I suppose you speak about his extension UCP:
http://api.openoffice.org/servlets/ReadMsg?list=devmsgNo=22475 . It was
integrated into DEV300_m81. The code is in ucb/source/ucp/ext .

D.

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



Re: [dev] OUStringToOString error ?

2010-05-13 Thread David Tardon
On Thu, May 13, 2010 at 06:33:12PM +0800, Qzi er wrote:
 Can any bady help me ?
 
 
 System : windows
 
 ///
 void main( ) {
 
// Sequence of Sequence of Any
 
Sequence Sequence Any   aValues(2);
 
Sequence Any  aValues2(2);
 
aValues2[0] = (double) 1.1; aValues2[1] =
 OUString::createFromAscii(Hello);
 
aValues[0] = aValues2;
 
aValues2[0] = (double)2.2; aValues2[1] =
 OUString::createFromAscii(Hi);
 
aValues[1] = aValues2;
 
OUString ouStr;
 
aValues[1][1]=ouStr;
 
OString oStr = ::rtl::OUStringToOString(ouStr,RTL_TEXTENCODING_ASCII_US);
 
printf(The string aValue2[1] is %s\n,oStr);

printf(The string aValue2[1] is %s\n,oStr.getStr());

 
getchar();
 
 }
 

D.

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



[dev] mysterious headers */inc/segdefs.hxx

2010-03-10 Thread David Tardon
Hello,

does anyone know what's the purpose of the various inc/segdefs.hxx and
inc/segdefs_.hxx headers? They doesn't seem to be used anywhere.

D.

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



Re: [dev] Re: mysterious headers */inc/segdefs.hxx

2010-03-10 Thread David Tardon
On Wed, Mar 10, 2010 at 02:44:07PM +0100, Michael Stahl wrote:
 On 10/03/2010 13:58, Caolán McNamara wrote:
  On Wed, 2010-03-10 at 13:51 +0100, David Tardon wrote:
  Hello,
 
  does anyone know what's the purpose of the various inc/segdefs.hxx and
  inc/segdefs_.hxx headers? They doesn't seem to be used anywhere.
  
  It smells of win16 64k segments if I had to guess.
  
  C.
 
 i've noticed the one in the sw module lately, and win16 was the
 explanation i heard.
 so i've removed sw/inc/segdefs*.hxx.
 

Ha, I wondered why these headers weren't present in the sw module too :)
I'll create an issue and remove the remaining ones too, then.

D.

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



Re: [dev] --enable-lockdown

2009-09-30 Thread David Tardon
On Tue, Sep 29, 2009 at 04:29:21PM +0200, Stephan Bergmann wrote:
 OOo appears to have support for an --enable-lockdown configure
 switch. In the configmgr gconf backend, it enables pulling settings
 for various configuration items from gconf.  Is this still relevant,
 or is this dead code?  (I am asking because I re-work configmgr and
 related code, so would not mind not having to take care of this
 specific piece of code...)
 
 -Stephan

Hello Stephan.

Yes, the code is still relevant and working. We use it in Fedora, for
example.


David

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



Re: [dev] XML and XSL into ODT transformation

2009-03-25 Thread David Tardon
On Wed, Mar 25, 2009 at 02:24:54AM +0100, Pasqualino Imbemba wrote:
 Hello,
 
 I am writing a Java application which at a certain point needs to
 generate an OO word processor file (ODT), based on a XSL stylesheet and
 XML data file.
 
 Is there a library that provides such functionality? 
 

Hello,

any XSLT processor will do. Saxon is a good choice, regarding the fact
you work in Java.

David

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



[dev] Duplicate headers in framework

2008-10-22 Thread David Tardon
Hello,
I found a bunch of duplicate header files in framework module
(DEV300_m33):

framework/inc/classes/eventsconfiguration.hxx
framework/inc/xml/eventsconfiguration.hxx
framework/inc/classes/eventsdocumenthandler.hxx
framework/inc/xml/eventsdocumenthandler.hxx
framework/inc/classes/imagesconfiguration.hxx
framework/inc/xml/imagesconfiguration.hxx
framework/inc/classes/imagesdocumenthandler.hxx
framework/inc/xml/imagesdocumenthandler.hxx
framework/inc/classes/menuconfiguration.hxx
framework/inc/xml/menuconfiguration.hxx
framework/inc/services/menudocumenthandler.hxx
framework/inc/xml/menudocumenthandler.hxx
framework/inc/services/popupmenucontrollerfactory.hxx
framework/inc/uifactory/popupmenucontrollerfactory.hxx
framework/inc/services/saxnamespacefilter.hxx
framework/inc/xml/saxnamespacefilter.hxx
framework/inc/classes/statusbarconfiguration.hxx
framework/inc/xml/statusbarconfiguration.hxx
framework/inc/classes/statusbardocumenthandler.hxx
framework/inc/xml/statusbardocumenthandler.hxx
framework/inc/classes/toolboxconfiguration.hxx
framework/inc/xml/toolboxconfiguration.hxx
framework/inc/classes/toolboxconfigurationdefines.hxx
framework/inc/xml/toolboxconfigurationdefines.hxx
framework/inc/classes/toolboxdocumenthandler.hxx
framework/inc/xml/toolboxdocumenthandler.hxx
framework/inc/classes/toolboxlayoutdocumenthandler.hxx
framework/inc/xml/toolboxlayoutdocumenthandler.hxx
framework/inc/classes/xmlnamespaces.hxx
framework/inc/xml/xmlnamespaces.hxx

From logs it looks that these files were moved into xml subdir in the
past, but they were left at their original places too. Is there some
(maybe obscure) reason for it? Or were they simply forgotten to be
removed from there?

David

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Compile error: external/common/apache-ant[...] not found @ OpenSolaris snv 95

2008-08-19 Thread David Tardon
Hello.

On Tue, Aug 19, 2008 at 10:41:51AM +0200, Ulf Wendel wrote:
 Hi!

 Any hints on this compile error ?

  CC=cc CXX=CC ./configure --disable-build-mozilla --disable-mediawiki  
 --with-use-shell=bash --with-jdk-home=/usr/jdk/latest/  
 --with-system-curl --without-java --with-epm=internal  
 --with-system-libxml  --with-system-python
 [...]
 Building module hsqldb
 /export/home/nixnutz/oo.org-m28/hsqldb
 mkout -- version: 1.8
 -
 noop UNPACKCMD
 if test -e ./unxsoli4.pro/misc/build/hsqldb ; then mv  
 ./unxsoli4.pro/misc/build/hsqldb  
 ./unxsoli4.pro/misc/build/hsqldb_removeme ; fi
 rm -rf ./unxsoli4.pro/misc/build/hsqldb_removeme
 cd ./unxsoli4.pro/misc/build  ( unzip -qq  -o  
 ../../../download/hsqldb_1_8_0.zip)  touch so_unpacked_so_hsqldb
 make writeable...
 dmake:  Warning: -- Target  
 [./unxsoli4.pro/misc/build/so_unpacked_so_hsqldb] was made but the time  
 stamp has not been updated.
 /usr/bin/perl /export/home/nixnutz/oo.org-m28/solenv/bin/leconvert.pl  
 unix ./unxsoli4.pro/misc/build/hsqldb/build/build.xml  touch  
 ./unxsoli4.pro/misc/so_hsqldb_convert_unx_flag
 cd ./unxsoli4.pro/misc/build  cat  
 ../../..//patches/accumulated_patches.patch | /usr/gnu/bin/patch  -p2   
 touch so_patched_so_hsqldb
 patching file hsqldb/build/build.xml
 patching file hsqldb/src/org/hsqldb/View.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcBlob.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcCallableStatement.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcClob.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcConnection.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcDataSource.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcDatabaseMetaData.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcParameterMetaData.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcPreparedStatement.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcResultSet.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcResultSetMetaData.java
 patching file hsqldb/src/org/hsqldb/jdbc/jdbcStatement.java
 patching file hsqldb/src/org/hsqldb/persist/DataFileCache.java
 patching file hsqldb/src/org/hsqldb/util/CodeSwitcher.java
 /usr/bin/perl /export/home/nixnutz/oo.org-m28/solenv/bin/leconvert.pl  
 dos  ./unxsoli4.pro/misc/build/hsqldb/build/build.xml  touch  
 ./unxsoli4.pro/misc/so_hsqldb_convert_dos_flag
 touch ./unxsoli4.pro/misc/build/so_configured_so_hsqldb
 mkdir ./unxsoli4.pro/misc/build/hsqldb/
 mkdir: cannot create directory `./unxsoli4.pro/misc/build/hsqldb/': File  
 exists
 cd ./unxsoli4.pro/misc/build/hsqldb/   
 /export/home/nixnutz/oo.org-m28/external/common/apache-ant-1.7.0/bin/ant  
 -Dbuild.label=build-300m28(Build:9337) -f build/build.xml jar
 touch  
 /export/home/nixnutz/oo.org-m28/hsqldb/./unxsoli4.pro/misc/build/so_built_so_hsqldb
 /usr/bin/bash:  
 /export/home/nixnutz/oo.org-m28/external/common/apache-ant-1.7.0/bin/ant: 
 No such file or directory

As I see it, there is no such file as
/export/home/nixnutz/oo.org-m28/external/common/apache-ant-1.7.0/bin/ant
. How you got the sources--as tarballs or through CVS?

If through CVS, it's possible you haven't got everything needed. Look
into external/common if there is apache-ant-1.7.0 subdirectory there. If
not, checkout it and repeat the build.

You can also persuade the build system to use local ant installation, if
you have any--the cmdline option for configure to do it is
--with-ant-home=dir.

 dmake:  Error code 127, while making  
 './unxsoli4.pro/misc/build/so_built_so_hsqldb'


 [EMAIL PROTECTED]:~/oo.org-m28$ uname -a
 SunOS osol95 5.11 snv_95 i86pc i386 i86pc Solaris

 Thanks!
 Ulf

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


David

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]