on 02-08-2006 11:12 AM
I'm trying to update some translations in MSA 5.
To compile i'm using build.bat file in cfg folder.
My problem is that compilation finishes successfully but texts I changed do not seem to be updated in the application.
I have also another problem. build.bat creates a crmhh.war and a crmhhsales.war. Before I upload to WAS I have to merge both files using WinRAR. Could this be the cause of error.
hi Rafa de Castro,
please follow the instructions.
1. The resource bundles have to be changed for any new text addition/deletion/edition. you are required to change the res.info file anf then go for translation and put the text in the specific res_<langcode>.prooperties file.
2. After that you perform a build using build.bat and u only have to use crmhhsales.war file and nothing else. dont merge the crmhh.war with it as crmhh.war is a intermediatery war file.
3. this solution has to work and it will work.
4. come back to me in case of any problems.
regards
anubhav bhatia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I still stuick to the point that u need not merge the two files and only use the one i suggested. If however u find some files mising in the war file then this is a problem with the build script and not the problem with anythibng else.
so u might seek SAP help to figure out the problem.
U can see the following
1. see the jspc.xml in the cfg folder
2. see the build.xml
But best is to seek the SAP advice on this regard.
regards
anubhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks anubhav.
Editing res.info worked correctly.
Anyway I must merge the two war files because if I don't do that a missing jsp file error occurs. And of course jsp files are not in main war file.
Maybe the source of the problem is in a error I get during build.bat process.
[exec] D:\crm\Handheld\MSAHH50src>call D:\jdk1.3.1_15\bin\java -classpath
:\jdk1.3.1_15\lib\classes.zip;D:\crm\Handheld\MSAHH50src/cfg\tmp\classes;D:\crm
Handheld\MSAHH50src\libs/StandardDOMWriter.jar;D:\ANT\lib\jaxp.jar;D:\ANT\lib\c
imson.jar com.sap.crm.handheld.devtools.jspc.WebXmlRegistrer D:\crm\Handheld\MS
HH50src/cfg\tmp\java D:\crm\Handheld\MSAHH50src/cfg\tmp/app-root/WEB-INF/web.xm
[exec] java.lang.NoClassDefFoundError: javax/xml/parsers/DocumentBuilderFa
tory
[exec] at com.sap.crm.handheld.devtools.util.XmlHelper.getDocument(Unk
own Source)
[exec] at com.sap.crm.handheld.devtools.webxml.WebXmlHelper.getDocumen
(Unknown Source)
[exec] at com.sap.crm.handheld.devtools.jspc.WebXmlRegistrer.register(
nknown Source)
[exec] at com.sap.crm.handheld.devtools.jspc.WebXmlRegistrer.main(Unkn
wn Source)
[exec] D:\crm\Handheld\MSAHH50src>call D:\jdk1.3.1_15\bin\java -classpath
:\jdk1.3.1_15\lib\classes.zip;D:\crm\Handheld\MSAHH50src/cfg\tmp\classes;D:\crm
Handheld\MSAHH50src\libs/StandardDOMWriter.jar;D:\ANT\lib\jaxp.jar;D:\ANT\lib\c
imson.jar com.sap.crm.handheld.devtools.webxml.WebXmlProcessor D:\crm\Handheld\
SAHH50src/cfg\tmp/app-root/WEB-INF/web.xml D:\crm\Handheld\MSAHH50src/cfg\tmp\w
bxmls\sales\web.xml SalesControllerServlet CrmhhSales
[exec] Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/
om/Node
[exec] Exception in thread "main"
[exec] Result: 1
Because of that I think I must merge files manually.
Thanks a lot anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.