Build Eclipse Feature Project using ANT - ant

I am new to Plugin development and hence facing this issue.
I have 2 plugin projects and both the projects are part of a feature project. I want to set up an ANT build which could build the feature project and publish it to an URL or File system.
Here is the scenario:
Plugin Project A isDependentOn -> Plugin Project B.
For both these project, I wrote build files which builds them properly.
Now I created a Feature project and included both these plugins into it. However I am not able to correctly write the ANT build file or may be I am not sure of the complete process.
Any help would be greatly appreciated.
Thanks in advance. Cheers !!!

Its better use Maven with Tycho to build eclipse features and plugins in headless mode.
Refer the link Eclipse Tycho and Using Tycho

Related

How can jenkins build a IntelliJ project (not maven/gradle)?

I prefer the IntelliJ project format for a Kotlin/JVM project. I.e. the dependencies and other project information is kept in files within the .idea directory:
Using IntelliJ IDEA I run tests and create an uber-JAR artifact for deployment.
Questions:
How can I build and test a IntelliJ Kotlin/JVM project on Jenkins? Is there a plug-in available that can handle the IntelliJ project format?
Or do I have to duplicate the project's information in a gradle file?

Robot framework plugin doesn't appear in post build step in Jenkins

I have Jenkins 2.150.3 installed. I have installed the Robot Framework plugin for test reports publishing. But it does not appear in the post build step.
I have installed all the dependency plugins too. Can some one help what could be wrong.
First, double-check the dependencies of the JENKINS/Robot Framework Plugin: you have installed those, but check their versions.
Second, check if robotframework itself is correctly installed.
Check if the type of job can change whether or not you do see it in the post build steps.
The src/test/java/hudson/plugins/robot/RobotProjectActionTest.java shows that plugin used in a Freestyle project, as a build step (not post-build).
See if that robot is available as a build step then.

How to compile ActionScript projects from Github source

I am new to Flash Builder development environment. I need to use the library below in my project but don't know how to compile it to produce a .swc file. I tried importing the source folder as a Flash Builder project to no avail. Can someone help please?
This is the library I want to use:
https://github.com/fljot/Gestouch
You can build the library with both Maven and Ant, build files are already there, just take a look.
Precompiled SWCs (dev builds) are available here for now http://repository-fljot.forge.cloudbees.com/snapshot/org/gestouch/gestouch/

Building project using ANT that contains droidText.jar

I have an Android Project which uses droidText Library.
when I run the project using Eclipse Plugin, build well done.
However when I run it using ANT, the build faild and I got this error:
Pre-Dexing /droidText.0.4.jar -> droidText.0.4-39f8a99da14902e4ed96cdcc8f277d6e.jar
[DEBUG] Skipping watched dependency update for build
I'm prety sure that the problem is related to Android dependency and that's du to uses of duplicated classes in JAR file.
But I don't know how to fix that.
can somebody help me please?
The bug was related to the ANT version, before I had ant 1.7 but after I updated the it with ant 1.8.4. things went ok.

TFS does not build projects correctly

HI
I am trying to build my solution using TFS but it seems to skips the projects which have dependencies.
e.g Proj B depends on Proj A , then it builds only Proj A and not Proj B.
Also if i try to build the projects individually instead of the solution then it does not create the release folder. It says that the output path is not found.
Any help is much appreciated
thanks
Is the SLN file in question converted from an older version of Visual Studio?
I've found that sometimes, like when you upgrade from a VS2003 SLN file to a VS2008 SLN file, it fails in MSBuild (which is what TFS is doing essentially).
Try making a new SLN file in VS2008 (or whatever version you're using) with the same project and see if that fixes it...
If you right-click the solution, one option you'll have is dependencies. Make sure that the projects are correctly setup there, even though they may reference each other the dependencies on the solution itself may not be complete or accurate...and this is what MSBuild uses.
Have a look in the configuration manager and make sure that the build you are running has those projects selected to build.
It may be you are running the Debug configuration for your local build and then running Release on the TFS server and it's not configured the same.

Resources