On 19.02.2014 16:03, Steele, Raymond wrote:
Yes, we have made many local modifications. Gladly, we had the backup. Couldn't
a check be placed in the make file to ensure $INPATH is set?
That would be the minimal solution.
I have created issue 124263 [1] for it. I have some trouble to
reproduce your problem because
a) I don't want to delete my object files at the moment :-)
b) When INPATH is not set then typically the whole solar environment is
not set. But in that case dmake complains that it can not find
startup.mk. Unless dmake is in PATH. But that is usually not the case
when the solar environment is not set ...
-Andre
[1] https://issues.apache.org/ooo/show_bug.cgi?id=124263
-----Original Message-----
From: Kay Schenk [mailto:kay.sch...@gmail.com]
Sent: Tuesday, February 18, 2014 4:49 PM
To: OOo Apache
Subject: EXTERNAL: Re: dmake clean
On Tue, Feb 18, 2014 at 3:01 PM, Steele, Raymond <raymond.ste...@lmco.com>wrote:
I see in the Makefile:
clean .PHONY
-rm -rf */$(INPATH)
-rm -rf solver/*/$(INPATH)
I am going to make an assumption that I performed the dmake clean and
$INPATH was not set, therefore rm -rf */ was performed????
From: Steele, Raymond
Sent: Tuesday, February 18, 2014 3:58 PM
To: dev@openoffice.apache.org
Subject: dmake clean
I am not sure why, but I just did a dmake clean in ../main and once if
finished all the module directories including source was deleted.
Thankfully, I had a backup. Can anyone explain this?
Raymond
Hello Raymond --
Yes, an incredibly annoying thing and one I have experienced as well.
If you "source" your env script and THEN do "dmake clean", only the bits
generated toward the native build will disappear. The clean script does a MUCH bigger remove if you
don't do that first. The first time this happened to me, I freaked a bit, but as I hadn't made any
local mods, an svn update got everything back.
It's good that you had a backup since I'm assuming you made local mods that
you wanted to keep. The build doc needs a bit of updating to help others avoid
this pitfall.
Happy coding!
--
-------------------------------------------------------------------------------------------------
MzK
"Cats do not have to be shown how to have a good time, for they are unfailing
ingenious in that respect."
-- James Mason
---------------------------------------------------------------------
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