How to configure Jenkins StarTeam plugin? - hudson

Jenkins (Hudson) has StarTeam plugin. How to configure it properly?
I have installed this plugin but when I build the project I get this error:
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
Machine is Windows Server 2008.
I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4 folder.

There is a hint on plugin documentation page:
The plugin requires the StarTeam SDK, StarTeam extensions and jsafe libraries in Hudson's classpath. These files are included in the freely downloadable StarTeam SDK package from Borland (Micro Focus) , and may be installed by e.g. dropping them in Hudson's WEB-INF/lib directory.
Copy the folder "C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib" to "C:\Jenkins\plugins\starteam\WEB-INF" (so there would be a Lib folder under WEB-INF), and restart Jenkins.
If you get "Can't load IA 32-bit .dll on a AMD 64-bit platform" error:
Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.

Related

ejabberd how to compile on windows

Ejabberd has a windows installer but the source does not compile for windows out of the box.
configure.bat has references to configure.erl but this file doesn't exist.
How do they do it?
From what I know, the windows installer is cross-compiled, or some weird stuff, and also requires specific program to pack the installer. So, building a Windows installer is not possible.
But you can download the ejabberd source code, make any changes you want to the erlang source code, compile it with the same Erlang/OTP version that is included in the Windows installer, and copy the *.beam files you have modified into the ejabberd installed directory.

How to properly install the libmysql.dll on Windows?

I'm getting the following error message when I try to run an application that connects to a MySQL database instance:
"[FireDAC][Phys][MySQL]-314. Cannot load vendor library [libmysql.dll or libmysqld.dll]. Hint check it is in the PATH or application EXE directories, and has x86 bitness.".
The error persists even with the libmysql.dll file on the same directory of the application executable.
Beyond to install the MySQL Connector/C to get the libmysql.dll, it is necessary to install the Visual C++ Redistributable Packages for Visual Studio 2013 too.
Just copy libmysql.dll into the same folder of the application, or add the path to libmysql.dll into Path variable of system.

Is there any way to install xap on VirtualBox?

I successfully run Windows Phone 8 (Flash.vhd from SDK) on VirtualBox, but I cannot find a way how to install xap on it.
You can use XAP deploy tool [XapDeploy.exe], located at C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment

Android Platform Guide trouble with adding a platform through the command line

I am following the installation guide: http://cordova.apache.org/docs/en/3.0.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
As aa early info this is my issue.
C:\apps\hello>cordova platform add android
[Error: An error occured during creation of android sub-project.
Creating Cordova project for the Android platform:
Command failed to execute : ant jar
This is what i did:
I installed all Java Dev packages (everything)
I installed Apache ANT, and created the environment variables (they work)
I created environment variables for PATH for the adt-bundle
All i want is to
cordova platform add android
cordova emulate android
This is due to ANT tools could not find tools.jar in JRE lib directory. When I copied tools.jar from JDK lib directory to JRE lib directory, the problem was absolutely solved and the build was successful when I ran the command "cordova -d platform add android". Hope this helps you.
I got the same issue today. upon research I found that I need to install JDK instead of JRE.
Install JDK from this link
After installation, set the JAVA_HOME to C:\Program Files\Java\jdk1.7.0_45 [your JDK Path].
Hope this helps!!
I installed the JRE instead of the JDK... Im no expert on Java installations, but this was my error.

Getting NoClassDefFoundError when trying to run Hudson Starteam task [duplicate]

Jenkins (Hudson) has StarTeam plugin. How to configure it properly?
I have installed this plugin but when I build the project I get this error:
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
Machine is Windows Server 2008.
I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4 folder.
There is a hint on plugin documentation page:
The plugin requires the StarTeam SDK, StarTeam extensions and jsafe libraries in Hudson's classpath. These files are included in the freely downloadable StarTeam SDK package from Borland (Micro Focus) , and may be installed by e.g. dropping them in Hudson's WEB-INF/lib directory.
Copy the folder "C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib" to "C:\Jenkins\plugins\starteam\WEB-INF" (so there would be a Lib folder under WEB-INF), and restart Jenkins.
If you get "Can't load IA 32-bit .dll on a AMD 64-bit platform" error:
Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.