I already have Maven creating an assembly widget1.0-distribution.zip containing:
widget-1.0
widget-1.0/lib/widget.jar
widget-1.0/lib/3rdpartyjar1.jar
widget-1.0/lib/3rdpartyjar2.jar
widget-1.0/widget.sh
widget-1.0/widget.properties
widget-1.0/widget.exe
widget-1.0/widget.ini
Now I just want to use Izpack 5 to create an installer which allows the user to decide where to simply install the widget application, maintaining the same folder structure.
Ive used Izpack 4.3.5 before but what im struggling with is getting started with integrating this with maven, I have created my install.xml but cannot see how this plugins in to the maven pom.xml
The IzPack wiki has quite a detailed page on how to build an Izpack 5 Installer with maven: https://izpack.atlassian.net/wiki/display/IZPACK/Compiling+Using+Maven
Is there anything you miss?
Related
Current state:
Multi-module Java 6 project using Eclipse plugins, application is distributed for Windows platform only as an exe file with directories with many jars and some init and configuration files. These client distribution is build via Jenkins using Eclipse Buckminster plugin. These project was written around years 2010-2012 and desperately needs refresh.
I mavenized project, which means that each module has now its own pom.xml with dependecies. All modules were successfully built using mvn install command.
Question is how to build and distribute complete application with maven and say goodbye to jenkins & buckminster.
Where I see problem(s):
I don't fully understand what Buckminster actually do and how to set up properly OSGi/Eclipse Equinox launcher. There are few files like .cspex, .cquery, .rmap and even some Ant xml files where some magic happened, but it's not clear for me.
Is it even possible to use Maven (maven shade plugin) to build such app? Has somebody experience with it?
I want to install eclipse plugin Agilereview from following link:
https://github.com/AgileReview-Project/AgileReview-EclipsePlugin
I downloaded the zip and unzipped it. I added it in eclipse as project and many projects added into workspace. When I tried to select all those projects and export them as deploy-able plugins in eclipse repository, eclipse doesn't allow it and always show error like plugin file missing. A problem is the zip file include many folders and many of those folder has its own plugin.xml file. Therefore, I think this Agilereview plugin itself is a combination of many plugins. I am sure that plugin is okay and its my mistake to install it.
Can anyone tell me, what is the mistake I am doing while installation? I want to install this plugin manually since later I need to optimize it.
Each of the folders org.agilereview.xxx is a separate Eclipse project. So you should use 'Import > Existing Projects into Workspace' to import these projects.
Since there are pom.xml files it looks like you should use maven and tycho to build the code.
For building RCP applications and plugins like Agilereview, which itself is a combination of many projects, you can check out the following tutorial:
http://www.vogella.com/tutorials/EclipseTycho/article.html
Eclipsetycho provides support for building eclipse components.
Install the maven eclipse tool, which will make your work easy.
http://download.eclipse.org/technology/m2e/releases
This is a pretty complex process, so spend some time to learn from the tutorial.
I've been doing some research on adding Maven to an existing Android project and I'm struggling to see how this works. I've used Maven once at work on a web based project with Netbeans, but for this project I'm looking to use IntelliJ. I can create a new "Maven Module", but I already have an Android project so I'm not entirely sure that's the route I should be taking.
I found this post which does provide some detail, but not a step-by-step windows integration guide (at least that I'm seeing).
Is it possible for me to use Maven within an Android project?
Edit: I'm looking to do this within a Windows environment
To answer your question in the last sentence: Yes, you can use Maven to build an Android project.
You should use the maven-android-plugin in your Maven project. The best place to get started is https://code.google.com/p/maven-android-plugin/wiki/GettingStarted. Need to read up a bit, but definitely worth the effort.
If I have existing IDE specific Android project that you would like to switch to Maven, instead of trying to "add Maven support to an existing IntelliJ project", I would:
Create a new Maven based project using an appropriate archetype https://github.com/akquinet/android-archetypes
Copy existing source/resources to the Maven project directories.
If done correctly, you can open this (Android) Maven project (pom.xml) in IntelliJ and use it like an Android project (including GUI editor). IntelliJ automatically generates an IntelliJ project from Maven's pom.xml and detects the Android facet.
This way, your project also stays IDE agnostic - you can do everything (build/test/deploy) from command line as well - how Maven projects should be IMHO. :D
I'm little confused because of too many options when we take anything in java. I want to create a web application in java. whether i have create web application from 'java web' or 'maven' by creating new project in netbeans. I may use some archetypes in my future, but whether maven project has full IDE support from netbeans
I've been using Maven projects in NB 7 without a problem.
I'm trying to build the Izpack project in Eclipse to add my own panels.
I was able to build the sample provided on the command line, but not in eclipse.
I've read the documentation and I'm still a bit confused.
My questions, does the actual Izpack source code have to be included with the project (if so which components and where) or is it enough to have the install.xml ?
I've set up the debug config like the doc says but Eclipse can't find the compiler class to run.
Hello
In the link below you will find a nice help about izpack installer.
http://www.imrantariq.com/blog/?p=89
Link below contains a detailed pdf to make installer with izpack.
http://www.imrantariq.com/blog/?attachment_id=112
cheers
Imran tariq
I managed to build the izpack project as follows
Checkout as java project
On 'Run configurations' make a Maven Build (eclipse m2e plugin). On workspace
select the root directory of the checked out project and on Goals put 'clean install'
I managed to build working izpack up to 5.0.6 with this way.