summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-06-16 18:11:49 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-06-16 18:11:49 +0000
commit4f6f5673f005d7628c3809b0ad2a66953f2d8a2d (patch)
tree5b872e33098d871db721a6422535af527f475585 /rsc
parenta509ac0d1914c29a11fd0692d741f6a2b6889d65 (diff)
CWS-TOOLING: integrate CWS ause102
2009-06-16 19:22:59 +0200 hjs r273039 : #i102607# don't kill mingw 2009-06-12 15:17:22 +0200 ihi r272921 : #i102607# add path before calling l10n tool 2009-06-11 14:25:20 +0200 hjs r272873 : #i102607# on EPM=internal call binary with full path 2009-06-10 13:35:48 +0200 hjs r272807 : #i102607# remove solver PATH entry from OOo env. 2009-06-10 12:10:44 +0200 hjs r272802 : #i102635# correct dependencies for all 2009-06-10 11:58:53 +0200 hjs r272801 : #i102607# call tools from solver with absolute path
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/prj/start.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index 5a623efeee51..c43879020a8e 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -306,8 +306,10 @@ int cdecl main ( int argc, char ** argv)
BOOL bHelp = FALSE;
BOOL bError = FALSE;
BOOL bResponse = FALSE;
- ByteString aPrePro( "rscpp" );
- ByteString aRsc2Name( "rsc2" );
+ ByteString aSolarbin(getenv("SOLARBINDIR"));
+ ByteString aDelim("/");
+ ByteString aPrePro; //( aSolarbin + aDelim + ByteString("rscpp"));
+ ByteString aRsc2Name; //( aSolarbin + aDelim + ByteString("rsc2"));
ByteString aSrsName;
ByteString aResName;
RscStrList aInputList;
@@ -318,6 +320,14 @@ int cdecl main ( int argc, char ** argv)
sal_uInt32 i;
ByteString* pString;
+ aPrePro = aSolarbin;
+ aPrePro += aDelim;
+ aPrePro += ByteString("rscpp");
+
+ aRsc2Name = aSolarbin;
+ aRsc2Name += aDelim;
+ aRsc2Name += ByteString("rsc2");
+
printf( "VCL Resource Compiler 3.0\n" );
pStr = ::ResponseFile( &aCmdLine, argv, argc );