Skip to main content

How to build??

1 reply [Last post]
Anonymous

Hello!

I have an application that runs on E61i, using lwuit, WS(stub) for
connection with my JBOSS. It works seamlessly with this platform, my target
is that it also works on Windows Mobile 5 or 6.

I downloaded Cyg4ME, j2sdk1.4.2_18 and phoneME_feature 3. Detail had
never worked with the Cyg4ME, I'm confused.

I am doing the steps below to retrieve the new file "jar" with support
for JSR-172, but only show msg error.

In the line command below, apl.jar(ProGuard 4.2) is the name of my
application

What am I doing:

C:\>"Arquivos de programas\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"

C:\>"C:\Arquivos de programas\Microsoft Visual Studio
8\Common7\Tools\vsvars32.bat"
Setting environment for using Microsoft Visual Studio 2005 x86 tools.

C:\>bash
bash-2.05b$ export USE_MIDP=true
bash-2.05b$ export CVM_DUAL_STACK=true
bash-2.05b$ export USR_JSR_172=true
bash-2.05b$ env
!C:=C:\
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\User\Dados de aplicativos
BUILDDIR=c:/phoneME_feature/javacall-com/configuration/phoneMEFeature/win32_emul
BUILD_OUTOUT_DIR=c:/phoneME_feature/
BUILD_OUTPUT_DIR=c:/phoneME_feature/out_put/phoneME
CLASS_PATH=C:\Arquivos de
programas\Java\jdk1.6.0_05\lib;C:\WTK22\binC:\WTK22\lib;
COMMONPROGRAMFILES=C:\Arquivos de programas\Arquivos comuns
COMPONENTS_DIR=C:\phoneME_feature
COMPUTERNAME=FAGALDE
COMSPEC=C:\WINDOWS\system32\cmd.exe
CVM_DUAL_STACK=true
CYG4ME=C:\cyg4me
DEVENVDIR=C:\Arquivos de programas\Microsoft Visual Studio 8\Common7\IDE
FP_NO_HOST_CHECK=NO
FRAMEWORKDIR=C:\WINDOWS\Microsoft.NET\Framework
FRAMEWORKSDKDIR=C:\Arquivos de programas\Microsoft Visual Studio 8\SDK\v2.0
FRAMEWORKVERSION=v2.0.50727
HOME=/cygdrive/c/Documents and Settings/User
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\User
INCLUDE=C:\Arquivos de programas\Microsoft Visual Studio
8\VC\ATLMFC\INCLUDE;C:\
Arquivos de programas\Microsoft Visual Studio 8\VC\INCLUDE;C:\Arquivos de
progra
mas\Microsoft Visual Studio 8\VC\PlatformSDK\include;C:\Arquivos de
programas\Mi
crosoft Visual Studio 8\SDK\v2.0\include;
J2ME_HOME=C:\WTK22\lib
JAVACALL_DIR=c:/phoneME_feature/javacall
JAVACALL_OUTPUT_DIR=c:/phoneME_feature/javacall
JAVA_HOME=C:\Arquivos de programas\Java\jdk1.6.0_05
JDK_DIR=C:/j2sdk1.4.2_18
LIB=C:\Arquivos de programas\Microsoft Visual Studio
8\VC\ATLMFC\LIB;C:\Arquivos
de programas\Microsoft Visual Studio 8\VC\LIB;C:\Arquivos de
programas\Microsof
t Visual Studio 8\VC\PlatformSDK\lib;C:\Arquivos de programas\Microsoft
Visual S
tudio 8\SDK\v2.0\lib;
LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Arquivos de
programas\Microsoft Visual Studio 8\VC\ATLMFC\LIB
LOGONSERVER=\\FAGALDE
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
PATH=/cygdrive/c/Arquivos de programas/Microsoft Visual Studio
8/Common7/IDE:/cy
gdrive/c/Arquivos de programas/Microsoft Visual Studio
8/VC/BIN:/cygdrive/c/Arqu
ivos de programas/Microsoft Visual Studio
8/Common7/Tools:/cygdrive/c/Arquivos d
e programas/Microsoft Visual Studio 8/Common7/Tools/bin:/cygdrive/c/Arquivos
de
programas/Microsoft Visual Studio 8/VC/PlatformSDK/bin:/cygdrive/c/Arquivos
de p
rogramas/Microsoft Visual Studio
8/SDK/v2.0/bin:/cygdrive/c/WINDOWS/Microsoft.NE
T/Framework/v2.0.50727:/cygdrive/c/Arquivos de programas/Microsoft Visual
Studio
8/VC/VCPackages:/cygdrive/c/Arquivos de programas/PC Connectivity
Solution/:/cy
gdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:
/cygdrive/c/Arquivos de programas/Arquivos
comuns/InterSystems/Cache:/cygdrive/c
/Arquivos de programas/Microsoft SQL
Server/90/Tools/binn/:/cygdrive/c/cyg4me/bi
n/:.
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PCSL_OUTPUT_DIR=c:/phoneME_feature/out_put/pcsl
PCSL_PLATFORM=win32_i386_vc
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 8, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0e08
PROGRAMFILES=C:\Arquivos de programas
PROJECT_JAVACALL_DIR=c:/phoneME_feature/javacall-com
PROMPT=$P$G
PWD=/cygdrive/c
SESSIONNAME=Console
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
TARGET_CPU=i386
TEMP=/cygdrive/c/DOCUME~1/User/CONFIG~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/User/CONFIG~1/Temp
TOOLS_DIR=c:/phoneME_feature/tools
USERDOMAIN=FAGALDE
USERNAME=User
USERPROFILE=C:\Documents and Settings\User
USE_MIDP=true
USR_JSR_172=true
VCINSTALLDIR=C:\Arquivos de programas\Microsoft Visual Studio 8\VC
VS80COMNTOOLS=C:\Arquivos de programas\Microsoft Visual Studio
8\Common7\Tools\
VSINSTALLDIR=C:\Arquivos de programas\Microsoft Visual Studio 8
WINDIR=C:\WINDOWS
_=/cygdrive/c/cyg4me/bin/env

build command:
bash-2.05b$ make $COMPONENTS_DIR/midp/build/javacall $COMPONENTS_DIR/apl.jar
c:\cyg4me\bin\make.exe: Nothing to be done for
`C:\phoneME_feature/midp/build/javacall'.
c:\cyg4me\bin\make.exe: Nothing to be done for
`C:\phoneME_feature/xAirR9.jar'.
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

On 10/ 9/08 03:52 PM, Renato Fagalde wrote:
> Hello!
>
> I have an application that runs on E61i, using lwuit, WS(stub) for
> connection with my JBOSS. It works seamlessly with this platform, my
> target is that it also works on Windows Mobile 5 or 6.
>
> I downloaded Cyg4ME, j2sdk1.4.2_18 and phoneME_feature 3. Detail
> had never worked with the Cyg4ME, I'm confused.
>
> I am doing the steps below to retrieve the new file "jar" with
> support for JSR-172, but only show msg error.

Hi Fagalde,

I think you might be confusing the fact that in order to build JSR 172
you must build the full stack build of phoneME Feature MR3, not by
itself as an individual JSR 172 JAR file.

See the build instructions for phoneME Feature MR3:
https://phoneme.dev.java.net/content/mr3/client_feature.html#win32

Also, see the specific instructions on how to include the specific JSRs
you want in the integrated build:
https://phoneme.dev.java.net/content/mr3/begin_feature.html#op_pack

If you have questions on building phoneME Feature MR3, you should also
note there is a separate e-mail alias/forum group apart from phoneME
Advanced (feature@phoneme.dev.java.net). See:
http://forums.java.net/jive/forum.jspa?forumID=99

Thanks,
Hinkmond

>
> In the line command below, apl.jar(ProGuard 4.2) is the name of
> my application
>
> What am I doing:
>
> C:\>"Arquivos de programas\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
>
> C:\>"C:\Arquivos de programas\Microsoft Visual Studio
> 8\Common7\Tools\vsvars32.bat"
> Setting environment for using Microsoft Visual Studio 2005 x86 tools.
>
> C:\>bash
> bash-2.05b$ export USE_MIDP=true
> bash-2.05b$ export CVM_DUAL_STACK=true
> bash-2.05b$ export USR_JSR_172=true
> bash-2.05b$ env
> !C:=C:\
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
> APPDATA=C:\Documents and Settings\User\Dados de aplicativos
> BUILDDIR=c:/phoneME_feature/javacall-com/configuration/phoneMEFeature/win32_emul
> BUILD_OUTOUT_DIR=c:/phoneME_feature/
> BUILD_OUTPUT_DIR=c:/phoneME_feature/out_put/phoneME
> CLASS_PATH=C:\Arquivos de
> programas\Java\jdk1.6.0_05\lib;C:\WTK22\binC:\WTK22\lib;
> COMMONPROGRAMFILES=C:\Arquivos de programas\Arquivos comuns
> COMPONENTS_DIR=C:\phoneME_feature
> COMPUTERNAME=FAGALDE
> COMSPEC=C:\WINDOWS\system32\cmd.exe
> CVM_DUAL_STACK=true
> CYG4ME=C:\cyg4me
> DEVENVDIR=C:\Arquivos de programas\Microsoft Visual Studio 8\Common7\IDE
> FP_NO_HOST_CHECK=NO
> FRAMEWORKDIR=C:\WINDOWS\Microsoft.NET\Framework
> FRAMEWORKSDKDIR=C:\Arquivos de programas\Microsoft Visual Studio
> 8\SDK\v2.0
> FRAMEWORKVERSION=v2.0.50727
> HOME=/cygdrive/c/Documents and Settings/User
> HOMEDRIVE=C:
> HOMEPATH=\Documents and Settings\User
> INCLUDE=C:\Arquivos de programas\Microsoft Visual Studio
> 8\VC\ATLMFC\INCLUDE;C:\
> Arquivos de programas\Microsoft Visual Studio 8\VC\INCLUDE;C:\Arquivos
> de progra
> mas\Microsoft Visual Studio 8\VC\PlatformSDK\include;C:\Arquivos de
> programas\Mi
> crosoft Visual Studio 8\SDK\v2.0\include;
> J2ME_HOME=C:\WTK22\lib
> JAVACALL_DIR=c:/phoneME_feature/javacall
> JAVACALL_OUTPUT_DIR=c:/phoneME_feature/javacall
> JAVA_HOME=C:\Arquivos de programas\Java\jdk1.6.0_05
> JDK_DIR=C:/j2sdk1.4.2_18
> LIB=C:\Arquivos de programas\Microsoft Visual Studio
> 8\VC\ATLMFC\LIB;C:\Arquivos
> de programas\Microsoft Visual Studio 8\VC\LIB;C:\Arquivos de
> programas\Microsof
> t Visual Studio 8\VC\PlatformSDK\lib;C:\Arquivos de
> programas\Microsoft Visual S
> tudio 8\SDK\v2.0\lib;
> LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Arquivos de
> programas\Microsoft Visual Studio 8\VC\ATLMFC\LIB
> LOGONSERVER=\\FAGALDE
> NUMBER_OF_PROCESSORS=2
> OS=Windows_NT
> PATH=/cygdrive/c/Arquivos de programas/Microsoft Visual Studio
> 8/Common7/IDE:/cy
> gdrive/c/Arquivos de programas/Microsoft Visual Studio
> 8/VC/BIN:/cygdrive/c/Arqu
> ivos de programas/Microsoft Visual Studio
> 8/Common7/Tools:/cygdrive/c/Arquivos d
> e programas/Microsoft Visual Studio
> 8/Common7/Tools/bin:/cygdrive/c/Arquivos de
> programas/Microsoft Visual Studio
> 8/VC/PlatformSDK/bin:/cygdrive/c/Arquivos de p
> rogramas/Microsoft Visual Studio
> 8/SDK/v2.0/bin:/cygdrive/c/WINDOWS/Microsoft.NE
> T/Framework/v2.0.50727:/cygdrive/c/Arquivos de programas/Microsoft
> Visual Studio
> 8/VC/VCPackages:/cygdrive/c/Arquivos de programas/PC Connectivity
> Solution/:/cy
> gdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:
> /cygdrive/c/Arquivos de programas/Arquivos
> comuns/InterSystems/Cache:/cygdrive/c
> /Arquivos de programas/Microsoft SQL
> Server/90/Tools/binn/:/cygdrive/c/cyg4me/bi
> n/:.
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PCSL_OUTPUT_DIR=c:/phoneME_feature/out_put/pcsl
> PCSL_PLATFORM=win32_i386_vc
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 8, GenuineIntel
> PROCESSOR_LEVEL=6
> PROCESSOR_REVISION=0e08
> PROGRAMFILES=C:\Arquivos de programas
> PROJECT_JAVACALL_DIR=c:/phoneME_feature/javacall-com
> PROMPT=$P$G
> PWD=/cygdrive/c
> SESSIONNAME=Console
> SHLVL=1
> SYSTEMDRIVE=C:
> SYSTEMROOT=C:\WINDOWS
> TARGET_CPU=i386
> TEMP=/cygdrive/c/DOCUME~1/User/CONFIG~1/Temp
> TERM=cygwin
> TMP=/cygdrive/c/DOCUME~1/User/CONFIG~1/Temp
> TOOLS_DIR=c:/phoneME_feature/tools
> USERDOMAIN=FAGALDE
> USERNAME=User
> USERPROFILE=C:\Documents and Settings\User
> USE_MIDP=true
> USR_JSR_172=true
> VCINSTALLDIR=C:\Arquivos de programas\Microsoft Visual Studio 8\VC
> VS80COMNTOOLS=C:\Arquivos de programas\Microsoft Visual Studio
> 8\Common7\Tools\
> VSINSTALLDIR=C:\Arquivos de programas\Microsoft Visual Studio 8
> WINDIR=C:\WINDOWS
> _=/cygdrive/c/cyg4me/bin/env
>
> build command:
> bash-2.05b$ make $COMPONENTS_DIR/midp/build/javacall
> $COMPONENTS_DIR/apl.jar
> c:\cyg4me\bin\make.exe: Nothing to be done for
> `C:\phoneME_feature/midp/build/javacall'.
> c:\cyg4me\bin\make.exe: Nothing to be done for
> `C:\phoneME_feature/xAirR9.jar'.

[att1.html]