logo       

Kelp-eclipse21-5.1 needs a couple of correction.: msg#00015

java.enhydra.general

Subject: Kelp-eclipse21-5.1 needs a couple of correction.

Hello,

I found some problems of "Kelp-eclipse21-5.1" in Kelp5.1beta8.
One in it can not be solved. [ at 3) ]
Please let me know a solution.

1) Installer

The relation between check-value and error-message is different.

<Kelp5.1-src5.1beta8>\InstallationBuild\Windows\install\Modern
UI\eclipse21.nsi
line 206-218
------------------------------------------------------------------------
-----
IfFileExists ${TEMP2}\bin\java.exe continue ; check if java.exe exist
MessageBox MB_OK "File java.exe does not exist in directory
${TEMP1}\bin"
Goto start

continue:
IfFileExists ${TEMP2}\bin\javac.exe checkJDK ; check if javac.exe exist
MessageBox MB_OK "File javac.exe does not exist in directory
${TEMP1}\bin"
Goto start

checkJDK:
IfFileExists ${TEMP2}\jre\lib\jsse.jar checkEnhydra ; check if JDK
1.4.x
MessageBox MB_OK "File jsse.jar does not exist in directory
${TEMP1}\jre\lib"
Goto start
------------------------------------------------------------------------
-----

To distinguish in ${TEMP2}, an output message is output in ${TEMP1}.
We solved in correcting a detection part ${TEMP2}.


2) build.xml

The application which was generated in Kelp can not be rebuilt by
Japanese JDK.

Example) Execution logging when "Ant Rebuild" .
- Ant
Rebuild ----------------------------------------------------------------
---------
Buildfile: build.xml

prepare:

initRebuild:

BUILD FAILED

D:\eclipse2_1\workspace\WebAp4\build.xml:304: Unparseable date:
"07/11/2002 05:38 午後"
------------------------------------------------------------------------
---------------

<Cause>
Default Multibyte-LOCALE characters (e.g. Japanese) is stored in the
format in the time ,
so it isn't able to recognizing.

<Solution>
Add locale="en" to the format tag in the initRebuild target of the
build.xml template file.

Before correcting)
<target name="initRebuild" depends="prepare">
<tstamp>
<format property="touch.time" pattern="MM/dd/yyyy hh:mm
aa"
offset="-1" unit="year"/>
</tstamp>
<touch datetime="${touch.time}">
<fileset dir="${classes.dir}" includes="**/*.class" />
</touch>
</target>

After correcting)
<target name="initRebuild" depends="prepare">
<tstamp>
<format property="touch.time" pattern="MM/dd/yyyy hh:mm
aa"
offset="-1" unit="year" locale="en"/>
</tstamp>
<touch datetime="${touch.time}">
<fileset dir="${classes.dir}" includes="**/*.class" />
</touch>
</target>

Target files )

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\webapp\bui
ld.xml.template-chtml

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\webapp\bui
ld.xml.template-html

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\webapp\bui
ld.xml.template-wml

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\webapp\bui
ld.xml.template-xhtml

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\en3app\bui
ld.xml.template-chtml

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\en3app\bui
ld.xml.template-html

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\en3app\bui
ld.xml.template-wml

<Kelp5.1-src5.1beta8>\modules\Eclipse\ToolBoxEclipse\template\en3app\bui
ld.xml.template-xhtml


3) Deployer

<Phenomenon>
We choose "Enhydra Tools | Deployer" from the top of Eclipse and we let
out Deployer dialog.
We change "Enable input deployment" checkbox of Input pain, and push the
"Close" button.
The checking ON/OFF of "input" isn't reflected in the "deploy" target
part of build.xml.

<Expected value>

"Enable input deployment" was ,
ON :
<target depends="input, content, archive" name="deploy"/>
OFF :
<target depends="content, archive" name="deploy"/>

<Solution>
I don't know , I am in the investigation.

build.xml ==> checkbox of dialog : OK
build.xml <== checkbox of dialog : NG

|
|
|Thanks,
Best regards,
K.NIWA.
NEC Soft, Ltd.---------------------------


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise