home recent topics recent posts search faq  

Schaudin.com Forum



register | lost password | |

AlexC - all messages by user

02.12.2011 11:06:50
Topic:
Make Satellite DLL from WinTrans 9 project

AlexC
AlexC
Hi,

Is it possible from a windows 7 command script to generate translatede satellite DLLS for a C# project via the RWTcmd.exe ?


The context is a commad script like this :
setlocal
echo off

SET LangCode=zh-CN
SET ProjExten=%~x2
SET TargetFile=%4
SET WinTransProj=%2
SET RcSrcFile=%1
SET WinTransDB="%~dpn2.fsmdb"

RWTCmd.exe /IsProjectUpToDate %WinTransProj% %LangCode% /a
REM If up to date just go write translated Satellite DLL
if %errorlevel%==1 goto WriteDll

RWTCmd.exe /UpdateAll %WinTransProj% %LangCode% /a
:WriteDll
REM Write the translated Satellite DL
RWTCmd.exe /??? %WinTransProj% %LangCode% %TargetFile%

IF %errorlevel%==0 GOTO TheEnd
ECHO ERROR:Could not make %TargetFile% from %WinTransProj%
EXIT 3
GOTO TheEnd

:TheEnd
ECHO Wrote %TargetFile% based on %WinTransProj%
endlocal


Thanks
Alex
06.12.2011 10:53:30
Topic:
Make Satellite DLL from WinTrans 9 project

AlexC
AlexC
Thanks, solved now
That works perfectly ,I just needed to remember to add the source resource.dll to the wintrans project and it was working.
Cheers
Alex
13.12.2011 12:35:40
Topic:
Add project to projects tab view via rwtcmd

AlexC
AlexC
Hi,
is there a way via rwtcmd to add a project to the projects tab view in WinTrans 9 ?
The reason is that is needed by the /ImportFromProject and /ExportProject.

The idea is to something like this

rwtcmd /AddToProjectsTab ...
rwtcmd /ImportFromProject ...

Thanks
Alex
08.02.2012 10:19:42
Topic:
Long process time for projects with added .NET dir

AlexC
AlexC
Hi
I have several .NET projects i use WinTrans to translate. I use the EXE/DLL as the source in WinTrans, and the i get WinTrans to generate the translated satellite DLL. This works in the default configuration for most EXE/DLL translation.
Some of the WinTrans configuration can not pass or generate the files in the standard configuration. To get it to work i add .NET seacrch directory in the menu Tools|Options...|.NET
Now the thing is, this really slows the process down a lot, the process time is 100+ seconds.
For the projects where I do not have any .NET search directories added the time is only seconds or about 30 seconds for the biggest projects.

The .NET search dir i add contains some Developer Express DLLs.

So my questions is if there is a way I can speed the projects up with the added .NET search dirs ?

Thanks
29.11.2012 12:52:21
Topic:
rwtcmd /IsTranslated always returns 1 ?

AlexC
AlexC
Hi,
I use the command rwtcmd /IsTranslated to keep track of which projects we still need to do some translation work on.

After I installed RC-WinTrans 9.2.0.5 rwtcmd /IsTranslated always returns 1, eg. the project in question is 100% translated.

We also have a nightly build system running that reported everything was traslated just after I updated to 9.2.0.5, which I am pretty sure is not the case.

So is there a know issue with rwtcmd /IsTranslated not return the correct value ?

Thanks for the help
12.02.2013 15:52:22
Topic:
rwtcmd /IsTranslated always returns 1 ?

AlexC
AlexC
Hi,
Just wanted to inform that the december service release (9.2.2.2) did solve this problem.
Thanks for the help
Alex
05.04.2013 13:05:07
Topic:
can rwtcmd have an option to modify .NET dir list?

AlexC
AlexC
Hi,

Would it be possible to have an option to rwtcmd that could add and remove Component Reference Directories ?
It is the list you can modify in RC-WinTrans via Tools|Options... and then the .NET tab.

The backgroud for this is to try and run WinTrans translations projects in parallel in a nightly build system, where some of the WinTrans projects needs to add some directories to the .NET dir list to be able to translate succesfulle. I don't want to add these extra directories permanetly to the .NET dir list as it increases the time it takes to do a translation.

Best regards
Alex
15.04.2013 10:09:28
Topic:
can rwtcmd have an option to modify .NET dir list?

AlexC
AlexC
If you were able to pass in a refernece directory via the rwtcmd it would work very well, i think.

Then it should be possible to do two or more translations in parallel, each with different reference directories
/Alex
07.09.2017 12:57:50
Topic:
Executing RCWinTrans 11 in parallel throws error

AlexC
AlexC
Hi,
I am very interested to hear if you get this working.
We are doing something similar and if we could do wintrans translation in paralle it would speed up our builds significantly.
Best regards and good luck
Alex
pages: 1




Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software