Re: [dev] change Xcu with extension

2010-04-01 Thread sponmonster

Hi,

I've tried the stuff which is explained in the docu.

I want to change the paths in Path.xcu, but everything except finalized
fails. I can't change the entries with replace, fuse or modify which is
default. Only finalized is working and changes the entries. But when i set
the entries finalize, of course , they aren't editable any longer, but that
is not good they should be editable. Below is again the code example.

What should i do?

Maybe the entry mandatory is the reason why i cant change the entry, is it
possible to change that?


sponmonster wrote:
 
 
 FOR Example:
 Paths.xcu
 node oor:name=Gallery oor:op=fuse oor:mandatory=true
   node oor:name=InternalPaths
 node oor:name=$(insturl)/share/gallery oor:op=fuse/
   /node
   prop oor:name=WritePath
 value$(userurl)/gallery/value
   /prop
 /node
 
 ---myPath.xcu here i change the path within the extension
 node oor:name=Gallery
   prop oor:name=UserPaths oor:type=oor:string-list
 oor:finalized=true
   valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value
   /prop
   prop oor:name=WritePath oor:type=xs:string oor:finalized=true
   valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value
   /prop
 /node
 
 
-- 
View this message in context: 
http://old.nabble.com/change-Xcu-with-extension-tp28081556p28105397.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


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



Re: [dev] change Xcu with extension

2010-04-01 Thread sponmonster

Hi,

I've tried the stuff which is explained in the docu.

I want to change the paths in Path.xcu, but everything except finalized
fails. I can't change the entries with replace, fuse or modify which is
default. Only finalized is working and changes the entries. But when i set
the entries finalize, of course , they aren't editable any longer, but that
is not good they should be editable. Below is again the code example.

What should i do?

Maybe the entry mandatory is the reason why i cant change the entry, is it
possible to change that?


sponmonster wrote:
 
 
 FOR Example:
 Paths.xcu
 node oor:name=Gallery oor:op=fuse oor:mandatory=true
   node oor:name=InternalPaths
 node oor:name=$(insturl)/share/gallery oor:op=fuse/
   /node
   prop oor:name=WritePath
 value$(userurl)/gallery/value
   /prop
 /node
 
 ---myPath.xcu here i change the path within the extension
 node oor:name=Gallery
   prop oor:name=UserPaths oor:type=oor:string-list
 oor:finalized=true
   valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value
   /prop
   prop oor:name=WritePath oor:type=xs:string oor:finalized=true
   valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value
   /prop
 /node
 
 
-- 
View this message in context: 
http://old.nabble.com/change-Xcu-with-extension-tp28081556p28105403.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


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



Re: [dev] change Xcu with extension

2010-04-01 Thread Oliver Brinzing
Hi,

have you tried, for example:

Path.xcu:

node oor:name=AutoText
prop oor:name=UserPaths
valuefile:///D:/Data/Global_Autotext_1 
file:///D:/Data/Global_Autotext_2/value
/prop
prop oor:name=WritePath
valuefile:///X:/User/Autotext/value
/prop
/node

Common.xcu:

node oor:name=Path
node oor:name=Current
prop oor:name=AutoText oor:type=oor:string-list
value xsi:nil=true /
/prop
/node
/node

-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45



signature.asc
Description: OpenPGP digital signature


Re: [dev] change Xcu with extension

2010-04-01 Thread Stephan Bergmann

On 04/01/10 09:33, sponmonster wrote:

I've tried the stuff which is explained in the docu.

I want to change the paths in Path.xcu, but everything except finalized
fails. I can't change the entries with replace, fuse or modify which is
default. Only finalized is working and changes the entries. But when i set
the entries finalize, of course , they aren't editable any longer, but that
is not good they should be editable. Below is again the code example.

What should i do?


If the user already explicitly set those path values (via the GUI), they 
are marked as modified in the user layer which is higher than the 
extensions layer (where your Paths.xcu ends up), so your changes would 
only become visible if you make them finalized (which makes configmgr 
ignore any higher layers for those settings).  That would explain what 
you see.


-Stephan

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



Re: [dev] change Xcu with extension

2010-04-01 Thread sponmonster

Hi thanks for your help, but i found the mistake i made

it was the mandatory flag in the original Paths.xcu
when i set oor:mandatory=false in the extension xcu-file the default
operation modify takes place, the entrie is overwritten and it still is
editable, 
so it works :)

but thanks for your answer
-- 
View this message in context: 
http://old.nabble.com/change-Xcu-with-extension-tp28081556p28105656.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


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



Re: [dev] Re: Problems building OOO320_m14 on Windows.

2010-04-01 Thread Kristján Bjarni Guðmundsson
Hi Heiner.

So what build system should I have been using? I was simply using the guide
available here:
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows

dmake seems to create makefile.mk from the makefile.rc file.and this is then
called from dmake. Are there some switches I am missing?

- - - - - - - - - Áframsendur póstur - - - - - - - - - -
 From: Jens-Heiner Rechtien jens-heiner.recht...@sun.com
 To: dev@openoffice.org
 Date: Tue, 30 Mar 2010 16:22:53 +0200
 Subject: Re: [dev] Re: Problems building OOO320_m14 on Windows.
 Hi Kristján,

 both the CWS changefileheader3 and the OOO320 milestone m14 have certainly
 been build several times before release. It's just that only very few
 developers still use the ancient makefile.rc - a nice example for the evils
 of having multiple build systems. I wasn't even aware that it still exists
 ... Will be fixed in the next milestone.

 Regards,
  Heiner

 Kristján Bjarni Guðmundsson wrote:

 Ok I see the problem now, it seems that the makefile.rc was messed up when
 changing copyright notice and invalid remarks where created:
 http://hg.services.openoffice.org/OOO320/diff/659920c8492d/makefile.rc

 This means that the current OOO320_m14 release can't be built directly
 from
 source without first fixing makefile.rc.
 This is amazing, no one has actually tried to test build the release?

 Þann 29. mars 2010 20:51, skrifaði Kristján Bjarni Guðmundsson 
 kristjanbja...@gmail.com:

  I am trying to build OOO320_m14 on Windows in CygWin 1.5.25
 Here is my configure:

 ./configure \
  --disable-nss-module \
  --with-use-shell=bash \
  --disable-activex \
  --disable-directx \
  --disable-epm \
  --disable-atl \
  --disable-build-mozilla \
  --with-cl-home=/cygdrive/c/Program Files/Microsoft Visual Studio
 9.0/VC
 \
  --with-ant-home=/cygdrive/c/Winapps/Java/ant \
  --with-frame-home=/cygdrive/c/Program Files/Microsoft
 SDKs/Windows/v6.1
 \
  --with-psdk-home=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1
 \
  --with-midl-path=/cygdrive/c/Program Files/Microsoft
 SDKs/Windows/v6.1/Bin \
  --with-asm-home=/cygdrive/c/Program Files/Microsoft Visual Studio
 9.0/VC/Bin \
  --with-jdk-home=/cygdrive/c/Winapps/Java/jdk16 \
  --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5

 After running dmake I get this error:

 dmake:  makefile.mk:  line 3:  Warning: -- Duplicate target [OR]
 dmake:  makefile.mk:  line 3:  Error: -- Expecting macro or rule defn,
 found neither

 Can somebody help me with this?




Re: [dev] Re: Problems building OOO320_m14 on Windows.

2010-04-01 Thread Jens-Heiner Rechtien

Hi Kristján,

what most developers do is, strangely, written in a footnote in the 
windows build section. 
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows#cite_note-Foot8-7


But it doesn't really signify, doing a 'dmake' in SRC_ROOT is documented 
in the build guide and thus should work as well.


Regards,
   Heiner

Kristján Bjarni Guðmundsson wrote:

Hi Heiner.

So what build system should I have been using? I was simply using the guide
available here:
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows

dmake seems to create makefile.mk from the makefile.rc file.and this is then
called from dmake. Are there some switches I am missing?

- - - - - - - - - Áframsendur póstur - - - - - - - - - -

From: Jens-Heiner Rechtien jens-heiner.recht...@sun.com
To: dev@openoffice.org
Date: Tue, 30 Mar 2010 16:22:53 +0200
Subject: Re: [dev] Re: Problems building OOO320_m14 on Windows.
Hi Kristján,

both the CWS changefileheader3 and the OOO320 milestone m14 have certainly
been build several times before release. It's just that only very few
developers still use the ancient makefile.rc - a nice example for the evils
of having multiple build systems. I wasn't even aware that it still exists
... Will be fixed in the next milestone.

Regards,
 Heiner

Kristján Bjarni Guðmundsson wrote:


Ok I see the problem now, it seems that the makefile.rc was messed up when
changing copyright notice and invalid remarks where created:
http://hg.services.openoffice.org/OOO320/diff/659920c8492d/makefile.rc

This means that the current OOO320_m14 release can't be built directly
from
source without first fixing makefile.rc.
This is amazing, no one has actually tried to test build the release?

Þann 29. mars 2010 20:51, skrifaði Kristján Bjarni Guðmundsson 
kristjanbja...@gmail.com:

 I am trying to build OOO320_m14 on Windows in CygWin 1.5.25

Here is my configure:

./configure \
 --disable-nss-module \
 --with-use-shell=bash \
 --disable-activex \
 --disable-directx \
 --disable-epm \
 --disable-atl \
 --disable-build-mozilla \
 --with-cl-home=/cygdrive/c/Program Files/Microsoft Visual Studio
9.0/VC
\
 --with-ant-home=/cygdrive/c/Winapps/Java/ant \
 --with-frame-home=/cygdrive/c/Program Files/Microsoft
SDKs/Windows/v6.1
\
 --with-psdk-home=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1
\
 --with-midl-path=/cygdrive/c/Program Files/Microsoft
SDKs/Windows/v6.1/Bin \
 --with-asm-home=/cygdrive/c/Program Files/Microsoft Visual Studio
9.0/VC/Bin \
 --with-jdk-home=/cygdrive/c/Winapps/Java/jdk16 \
 --with-csc-path=/cygdrive/c/Windows/Microsoft.NET/Framework/v3.5

After running dmake I get this error:

dmake:  makefile.mk:  line 3:  Warning: -- Duplicate target [OR]
dmake:  makefile.mk:  line 3:  Error: -- Expecting macro or rule defn,
found neither

Can somebody help me with this?






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



Re: [dev] Re: OpenOffice.org Product Development

2010-04-01 Thread Charles-H. Schulz
Le Thu, 1 Apr 2010 01:03:35 +0200,
Thorsten Behrens t...@openoffice.org a écrit :

 Cor Nouws wrote:
  What I currently see is a big chasm between Sun/Oracle people, who
  unanimously reject my candidature on various grounds, and the
  rest
  
  Are you really sure about that?
  I've only read three or four opinions. And not all that strong.
  So IMO your statement does make the contrast look harder than it is.
  And that is - sorry that I have to notice - contrary to what you
  state below here.
  
 Hi Cor,
 
 hm, at least this is my perception. I saw four public statements,
 ranging from mounting a campaign, endorsement of that campaign, 
 seeing conflict of interest, and being a bit scared. I may have 
 managed to appear a bit less scary, but have not yet received 
 any indication that, with the clarifications, I may now be 
 acceptable. ;)
 
 Charles' question was about my view, which is subjective of course,
 and my brain reading capabilities are limited. I'd love to be proven
 wrong, and profoundly apologize to those I might have unintentionally
 misrepresented.
 
 Thanks for keeping an eye on this, and the moderation,
 
 -- Thorsten

Thorsten, it's actually not what I have asked you. I have asked you how
you feel about the OOo community, and its unity. You don't need brain
reading capabilities for this :-)  So I'm waiting for your answer here,
although for me, your nomination is perfectly acceptable.

 As Eric just replied to this thread I would however like to clarify a
 point here: FOSS does not entail democracy. It never had, never will,
 and no, your patches don't *always* have to be accepted.

 

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



Re: [dev] Re: OpenOffice.org Product Development

2010-04-01 Thread Martin Hollmichel

eric.bach...@free.fr wrote:

[...] the most important is to see whether there is or not a real
democracy inside OpenOffice.org.

  
requesting democracy is quite striking request and and issue where 
people might have different understandings:

do you mean the meritocratic way (http://en.wikipedia.org/wiki/Meritocracy)
or the egalitaristic (is this an English word ?) way 
(http://en.wikipedia.org/wiki/Egalitarianism).


or as others [1] say: We are not voting on every decision. Good 
feedback, good data are welcome. I don't know if I'm that far going as 
Mark saying This is not a democracy since I think meritocracy is an 
established pattern in many Open Source projects. And I consider 
meritocracy as democratic shape.


Martin

[1] http://www.webupd8.org/2010/03/ubuntu-is-not-democratic.html

Have a nice day,
Eric Bachard

  



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



[dev] How to use DBG_foo?

2010-04-01 Thread Terrence Enger
Greetings,

What does it take to use, for example, the DBG_ASSERT function defined
in debug.hxx?  I have poked around on the wiki without success.

I have added enough #include lines to get the file to compile, but now
the link step is failing with undefined references to DbgFunc() and
DbgOut().  I see that these functions are bound into libtlli.so, but how
do I tell the build system to--pardon the pun--make the link?

Cheers,
Terry.



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



[dev] Phase Voting by the Constituency starts for the current Community Council Elections

2010-04-01 Thread Christoph Noack
Hi all,

the phase Voting by the Constituency for the current OpenOffice.org
Community Council elections starts now. The election process [1]
instructs us to allot two weeks for voting. That period begins now and
will end by April 15th 2010.

The voting for the different seats will be done by the corresponding
constituencies (see below). We have compiled a list of those who are
eligible to vote and we will invite the members of the constituencies by
direct mail which explains how and where to vote.

The wiki page [2] provides further information on the current elections.
Nevertheless, we are going to vote for ...


Native Language Confederation Representative

Number of seats: One

Constituency: Category leads, project leads and co-leads from
native-lang projects, plus project lead and co-leads of l10n
project.

Candidate: Olivier Hallot


http://wiki.services.openoffice.org/wiki/Community_Council/Elections/2010-03#Native_Language_Confederation_Representative


Code Contributor Representative

Number of seats: One

Constituency: All active code contributors - people who
constantly contribute code to the project under the general
rules of the project, as defined by following criteria: a)
contributor is a domain developer, b) contributor has commit
access to the OpenOffice.org code repository, c) contributing
code with the established child workspace processes, d)
contributing under the accepted term and conditions of the
project (SCA, formerly known as JCA or CA)., e) contributor
constantly takes over ownership of child workspaces (took
ownership of at least one CWS within the last 6 months)

Candidate: Eike Rathke


http://wiki.services.openoffice.org/wiki/Community_Council/Elections/2010-03#Code_Contributor_Representative


Product Development Representative

Number of seats: One

Constituency: Category leads, project leads and co-leads of all
OpenOffice.org projects (accepted and incubator) but not from
the native-lang category or l10n project.

Candidate: Thorsten Behrens


http://wiki.services.openoffice.org/wiki/Community_Council/Elections/2010-03#Product_Development_Representative


If you run into any problems feel free to contact the commissary and  
observers listed at [2].


Thank you and enjoy your day!

Christoph (on behalf of the OpenOffice.org Community Council)


REFERENCES

[1] Election Process Bylaw
http://wiki.services.openoffice.org/wiki/Community_Council/Items/Election_Process

[2] Election 2010-03
http://wiki.services.openoffice.org/wiki/Community_Council/Elections/2010-03


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



Re: [dev] How to use DBG_foo?

2010-04-01 Thread bjoern michaelsen - Sun Microsystems - Hamburg Germany
On Thu, 01 Apr 2010 16:40:11 -0400
Terrence Enger ten...@iseries-guru.com wrote:

 Greetings,
 
 What does it take to use, for example, the DBG_ASSERT function defined
 in debug.hxx?  I have poked around on the wiki without success.
 
 I have added enough #include lines to get the file to compile, but now
 the link step is failing with undefined references to DbgFunc() and
 DbgOut().  I see that these functions are bound into libtlli.so, but
 how do I tell the build system to--pardon the pun--make the link?

In general -- dont do it. As Michael Stahl pointed out on:
 http://wiki.services.openoffice.org/wiki/Writer/Code_Conventions
DBG_* is defined in module tools, and therefore evil by definition
Consider using OSL_ENSURE and friends from sal/inc/osl/diagnose.h
instead.
If you still want you use the evil old tools asserts, you would need to
find the makefile where the linking gets done (most on the time
${MODULE}/util) and add the tool lib to the linked lib like this:

 SHL[0-9]STDLIBS+= $(TOOLSLIB)

You would also need to make sure that your module depends (directly
or indirectly) on the tools module in the prj/build.lst file.

Best Regards,

Bjoern

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