Skip to main content

How to build??

4 replies [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rfagalde
Offline
Joined: 2008-07-23
Points: 0

I have three questions:

1# My application run in Symbian(E61i), accessing the JBOSS using Web Services, but it
don't run in windows mobile, and returns NoClassDefFoundError only in the class that contains Web Service's
call(new WS4JMEPortType_Stub())

2# I'd like to confirm that the library phoneME Feature M3 used with cyg4me, will rebuild
my application with JSR-172 support, and not conflicting with windows Mobile.

3# What variables are wrong when I use command "make -C..." to rebuild?

thanks.

Hinkmond Wong

rfagalde wrote:
> I have three questions:
>
> 1# My application run in Symbian(E61i), accessing the JBOSS using Web Services, but it
> don't run in windows mobile, and returns NoClassDefFoundError only in the class that contains Web Service's
> call(new WS4JMEPortType_Stub())
>

How did you write your app in #1? Did you use the Symbian Quartz SDK?
Or, did you write the app without an IDE tool?

> 2# I'd like to confirm that the library phoneME Feature M3 used with cyg4me, will rebuild
> my application with JSR-172 support, and not conflicting with windows Mobile.
>

Please read:
https://phoneme.dev.java.net/content/phoneme_feature_r3.html

Yes, phoneME Feature MR3 can build a stack with JSR 172 support, however
it unfortunately can only be built for Linux/ARM or Windows/x86
(emulator platform). You cannot build phoneME Feature MR3 for Windows
Mobile.

> 3# What variables are wrong when I use command "make -C..." to rebuild?
>

For details on how to build phoneME Feature MR3 for Windows/x86 (not
Windows Mobile, since there is no Windows Mobile build support), see:

http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEBuilding#BuildScr...

(Look at the Example 1 build script)

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: feature-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: feature-help@phoneme.dev.java.net

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]

rfagalde
Offline
Joined: 2008-07-23
Points: 0

I have three questions:

1# My application run in Symbian(E61i), accessing the JBOSS using Web Services, but it
don't run in windows mobile, and returns NoClassDefFoundError only in the class that contains Web Service's
call(new WS4JMEPortType_Stub())

2# I'd like to confirm that the library phoneME Feature M3 used with cyg4me, will rebuild
my application with JSR-172 support, and not conflicting with windows Mobile.

3# What variables are wrong when I use command "make -C..." to rebuild?

thanks.