I am trying to follow the steps in Creating an IBM Worklight BlackBerry 10 environment.
But while running this command (ant qnx copy-extension) it is throwing error given below
D:\f\f\proj1\apps\proj1\blackberry10\nat
ive>ant qnx copy-extension
Buildfile: D:\f\f\proj1\apps\proj1\black
berry10\native\build.xml
qnx:
BUILD FAILED
Target "copy-extension" does not exist in the project "Build and Deploy a Cordov
a BlackBerry WebWorks Project".
Total time: 0 seconds
I have also tried these steps mentioned in this article but it is throwing cardova initilize failed.
Sample Project:
Blackbery 10 Sample project on worklight 6.1
Looks like you are using an non-existing command.
Try the below and see if it resolves this specific build failure:
In your command line, replace:
ant qnx copy-extension
With:
ant qnx copy-extensions
From the user documentation:
c. In the {project name}/apps/{app name}/blackberry10/native folder,
run the ant qnx copy-extensions command.
Related
I am working on Windows 10 with Windows Mixed Reality Runtime and Hololens 2 emulator to run the hello_xr test . I was able to build the project using Visual Studio 19 and run it from command prompt as follows
hello_xr.exe -g D3D12 -ff Hmd -vc Stereo -bm Opaque -s Local
This is unable to get system and throws the following error although Hololens 2 emulator has been launched prior to running the above command
[16:09:52.495][Info ] Press any key to shutdown...
[16:09:52.586][Info ] Available Layers: (0)
[16:09:52.616][Info ] Instance RuntimeName=Windows Mixed Reality Runtime RuntimeVersion=112.2211.2002
[16:09:52.623][Error ] XrResult failure [XR_ERROR_FORM_FACTOR_UNAVAILABLE]
Origin: xrGetSystem(m_instance, &systemInfo, &m_systemId)
Source: ..\..\..\src\tests\hello_xr\openxr_program.cpp:298
Maybe I should launch the test from within Visual Studio using Hololens 2 emulator as debug target for this to work. But I am not sure how that can be achieved.
How do I go about debugging this? I just started with XR development.
This was solved in the Khronos forums.
Update (adding some context in case the link is unavailable later):
Instead of hololens emulator we can also use Windows Mixed Reality Portal or SteamVR to run the hello_xr sample. I used SteamVR along with an android phone. Steps followed were
Install SteamVR.
Change the active runtime from Windows Mixed Reality to SteamVR. The path to the manifest json file for SteamVR should be {drive}:\Program Files (x86)\Steam\steamapps\common\SteamVR\steamxr_win64.json . Registry editor can be updated to change the active runtime, details about runtime discovery can be found in the loader spec.
I recently installed IBM MobileFirst CLI on my Mac, but I don't seem to be able to start the Server. See error below. I searched the internet and found that there is a bug in JDK which causes the JavaLaunchHelper error. I downloaded the beta version that supposedly fixes the issue from here - JDK Download Link
. But this doesn't help either. Any other help is appreciated.
Imayas-MBP:EmployeeDirectory imaya$ mfp start Initializing
MobileFirst Console. objc[18564]: Class JavaLaunchHelper is
implemented in both
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java
and
/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined. Starting
server worklight. Server worklight start failed. Check server logs
for details.
/Users/imaya/.ibm/mobilefirst/6.3.0/server/wlp/bin/server: line 744:
18563 Abort trap: 6 "${JAVA_CMD}" "$#" > "${JAVA_CMD_LOG}"
2>&1 Error: The MobileFirst server failed to start. The port may be in
use by another instance of a running server, or the server may not
exist.
The JavaLaunchHelper error is not the problem here; Anyone using Java 7 will experience it, but things will work regardless.
The problem here is the second error:
The MobileFirst server failed to start. The port may be in use by
another instance of a running server, or the server may not exist.
Verify you do not have an already running server, that was started either by the CLI or by MFP Studio in an Eclipse installation.
In the command line, run mfp stop
In Eclipse, well, quit it
Make sure the Java process is not running
Then, start over. Using the CLI, create a new project and application and try to start the server. For example:
cd /Users/idanadar/Desktop
mfp create testProject
cd testProject
mfp add hybrid testApp
mfp start
mfp build
mfp deploy
mfp console
On OSX, you can locate and kill a process holding open a port using the following:
Run (assumes port 10080):
$ lsof -i :10080
Then if a process is shown, run the following using the shown Process ID:
$ kill -9 {PID}
We have followed the silent installation procedure on remote server as mentioned in the IBM Developer documentation of 6.3 from the link:
https://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.installconfig.doc/dev/t_silent_installation.html
Downloaded the MobileFirst CLI 6.3 file from the link::
http://public.dhe.ibm.com/ibmdl/export/pub/software/products/en/MobileFirstPlatform/mobilefirst_cli_installer_6.3.0.zip
unzipped it to MobileFirst CLI 6.3.0 and copied installer.properties file with fallowing content in that,
LICENSE_ACCEPTED=TRUE
USER_INSTALL_DIR=/opt/ibm/Worklight-CLI
and staying in the same folder, i installed the CLI 3.0 to the specified folder:
./install_linux.bin -i silent -f installer.properties
App has installed to the /opt/ibm/Worklight-CLI directory.
We then created a sample app as per Command Line commands specified in the link:
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.dev.doc/dev/r_wl_cli_commands_and_their_definitions.html
$ mfp create MyProject
$ cd MyProject
$ mfp build
$ mfp deploy
After app build and deployment, when we tried to check the MobileFirst Console over browser, with link:
http://xxx.xxx.xxx.xxx:10080/worklightconsole
after logging in to admin/admin credentials, page shows, loading the environments, but after waiting for 30 sec or more, it throws error as in the attached image.
But in log file shows some JAR file are missing. And i tried installing fresh copy of MFP 6.3 many times. but all time the same issue.
Please find the attached logs file and screenshot.
I am not able to find out what is the exact problem.
Server error. Contact the server administrator.
Server Configuration:
Ubuntu 14.04.01 LTS
MobileFirst Version : 6.3.0.00.20141127-1401
java version: "1.7.0_65"
java.home = /usr/lib/jvm/java-7-openjdk-amd64/jre
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
The Console error Message:
Log file:
[12/11/14 10:27:57:376 IST] 0000002f
m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W
SRVE9967W: The manifest class path jaxb-api.jar can not be found in
jar file
wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar
or its parent.
[12/11/14 10:27:57:376 IST] 0000002f
m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W
SRVE9967W: The manifest class path activation.jar can not be found in
jar file
wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar
or its parent.
[12/11/14 10:27:57:376 IST] 0000002f
m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W
SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found
in jar file
wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar
or its parent.
[12/11/14 10:27:57:377 IST] 0000002f
m.ibm.ws.container.service.app.deploy.ManifestClassPathUtils W
SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in
jar file
wsjar:file:/home/administrator/.ibm/mobilefirst/6.3.0/server/wlp/usr/servers/worklight/apps/worklightconsole.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar
or its parent.
[12/11/14 10:27:57:637 IST] 00000029
com.ibm.ws.webcontainer.osgi.webapp.WebGroup I
SRVE0169I: Loading Web Module: IBMJMXConnectorREST.
You've only linked to the documentation. Please edit the question and describe what you've actually done.
These are the steps I have taken (based on the CLI tutorial) in order to create a new project and application using MobileFirst CLI and then open MobileFirst Console:
System:
OS X 10.10.1
Oracle Java (default installed by the OS)
In Terminal:
cd /Users/idanadar/Desktop
mfp create testProject
cd testProject
mfp add hybrid testApp
mfp start
mfp build
mfp deploy
mfp console
The console was opened:
Check to see if there are any spaces in the path for your eclipse workspace. There is a known limitation with Liberty 8.5.5.3, which is the internal development server included in MobileFirst Platform Foundation 6.3, that you cannot have whitespace in the path name:
https://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.getstart.doc/start/c_known_limitations.html
The failures, which match what shows in your log file, can occur on console startup and app deploy or preview.
The Issue is with the Hosted Server. They have opened the port 10080 partially. as port is allowing one way communication. because of some security reason, Hosting Server organisation has put some restriction over it. Now its resolved. Now we can able to deploy, and check the deployed apps over the worklight Console.
Thank you all for your suggestions and effort to go through my long listed question and trying out to resolve it.
I posted this comment: as some other persons may face same issue. so at least they can rid of this kind of issue ASAP.
Bamboo is running on a Windows Server 2008 box.
We were on Bamboo 5.0.1 and I upgraded to 5.4.3. We have several jobs using Grails Wrapper and Gradle Wrapper. There are Executables registered in Bamboo of ./grailsw and ./gradle. These worked perfectly on the old version but after the upgrade the jobs are failing with the following error:
Failing task since return code of [./gradlew clean build] was -1 while expected 0
I've tried changing ./ to .\ and removing it entirely and all of those fail with the same message above. If I cd into the build directory and run the command with either .\ or just gradlew then it works fine.
When I'm running these commands I'm logged in as the same user that the service is running.
Thanks!
I contacted Atlassian Support about this issue and it was discovered that if you're using the newer version of Bamboo on Windows it won't execute a file that doesn't have an extension.
I am a web developer and new to Phonegap..
I was trying to install phone gap on my windows 7 machine as per described here
http://docs.phonegap.com/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface
but when i run the following command
cordova platform add android
i am getting the following error
[Error: An error occured during creation of android sub-project.
ERROR : executing command 'ant', make sure you have ant installed and added to y
our path.
]
does this mean that i should install apache ant on my machine ? if so can someone redirect me to right link.
I am also running wampserver on my machine for my other developments..
will installing 'ant' affect on my wamp ?
As described in PhoneGap Getting Started
Finally, you may need to include %ANT_HOME%\bin to your PATH as well. To check to see if this is required, run a command prompt and type ant. If the program can not be found add %ANT_HOME%\bin to the PATH. You may need to specify the full path instead of using the %ANT_HOME% environment variable.
If you need ant for Windows, you may want to download and install it from here
You need ant to add the android platform.
Ant is a java-based build tool.
You can get further informations and download it at http://ant.apache.org.
ant has nothing to do with the apache webserver and doesn't effect your wamp installation. It's another software product provided by the apache foundation.
lg
fastrde