As promised or at least commented on some time ago, I have created a screen cap tutorial for setting up a development environment in Eclipse. This is certainly not the only methodology, but it seems to work for me :)
Try it out and let me know.
UPDATE:
After installing the newest version of eclipse (3.3.*) i have noticed that they changed their input handler such that there is now a drop down. This breaks the ext.jar file that was supplied by SungardHE. You will notice that all of the selections are invalid.
As a solution, I have changed the ext.jar file to list and accept the full path name. If you are having the same issue I was, you can grab the included file below (it's in the zip file) and use it instead.
Note: Please use the file cautiously as I did not error checking. Also I hope me posting this does not irritate sungard as it's mostly their build tool.
Comments
this is great!
Thanks for posting this! Your timing is excellent! After getting our first Luminis installation going last week, I was looking for a way to set up a Luminis development environment. I just went through the "Download and setup" section, and it was very helpful. The tutorial seemed to just fine with Luminis IV.
The one thing I'm not clear on is java versions. In order to get eclipse to run, I had to use:
eclipse.exe -vm "C:\Program Files\Java\j2re1.4.2_13\bin\javaw" This is the only JRE I have installed. When I tried to build the car via ant, the build failed : com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
I have a bunch of java installations installed on my laptop, but I'm not sure which ones are used by what applications. I'll try downloading and pointing to the latest version of the JDK.
JRE/JDK
Hi,
Yes you need a JDK rather than a JRE to Run ANT. And you want to use the same JDK version that is associated with your Luminis Install. so for us we needed JDK version 1.3.1_20 as that is the latest version that Luminis 3.3.3 runs on.
Once thats installed and running, then you can add it to the list of JDKs in eclipse and associate your ant target with it.
Cheers
Dave
Re: JDK for Luminis IV
I believe you want to use the JDK 1.5 for Luminis IV. I followed these instructions today and it all worked using JDK 1.5 with the Luminis IV libraries.
Paul
Input does not match validargs attribute
Hello, all,
I am new to the luminis system. I following the "Download and setup" section, everythins was fine untill I try to use ant to build car file for the channel. I got the Ant Input Request window pop up, let me select the channel project:
0 ca\uvic\uportal\channels\ChannelNav
but after I selected it, i got "input does not match validargs attribute" message.
I think I followed and set everything correct. Any suggestions?
Thanks,
Ning
One solution - "validargs" problem
My coworker had this same problem and we just resolved it ....
This looks like another Eclipse bug.
We found that we needed to change the ant build properties to the opposite of what the video mentioned.
Right click on ant build, in this example "Channel Compile and Publish" and pick "run as ...." then go to the JRE tab. I believe the video instructs to choose a "Separate JRE" because of a bug. However, this actually created a bug for us, and our solution was to use "Run in same JRE as s the workspace" EVEN IF your "separate JRE" is the same as that of the workspace. Sounds like a bug -- changing this worked for one of my coworkers though ....
MAKE SURE your workspace "JRE" is NOT a JRE but a JDK (or J2SE) and do not use the default Eclipse provide (if they do provide one). We have Luminis 4 so we happen to be using the J2SE 1.5.0 build 12 (downloaded from Sun) for our workspace, and ant builds, and we don't override it for each individual Eclipse project.
Hope this helps
Cool
Great! thanks for the hard work.
There is also a newer version of eclipse than the 3.2 that I was using for the video, so things can be a little different.
Fixes it
To confirm, this fixed it for me as well (thought the JRE versions do appear to be the same). To clarify a little:
Inside of Eclipse 3.x:
* Click on "Window" -> "Show View" -> "Other" -> "Ant".
* Under the new "Ant" tab, right click on "Channel Compile and Publish" (if you followed the video)
* Choose "Ant build..." to specify additional settings
* Under the "JRE" tab, look for the section "Runtime JRE". In this section, choose "Run in the same JRE as the workspace".
* Click "Apply", then close and re-run your Ant procedure.
It changes the options box that appears from a drop down list to a dialog box for me.
some trouble
Hi,
I was following your instructions, but I ran into an error when i tried to use the ant build file. I get an error message and when I look at the error logs it tells me that "problems occurred when invoking code from plug-in: org.eclipse.jface" Anyone know how I can fix this?
Thanks,
Cory
I've never seen that before.
I've never seen that before. It looks like an eclipse plugin error. Do you have a jFace plugin? try disabling it?