[udig-devel] Turning the SDK into an EXE
Jody Garnett
jgarnett at refractions.net
Wed Sep 12 01:46:58 PDT 2007
It is a simple ant script (pretending to be smart like maven).
The errors are when it checks your local computer (if you were building
GeoTools locally it would pick the jars off your machine). Later on in
the file it grabs them from http://lists.refractions.net/m2/
Cheers,
Jody
> Jesse,
>
> Thanks for the reply. I decided it would be safer to start again so I am
> following the instructions under
>
> http://udig.refractions.net/confluence/display/UDIG/Export+Product+procedure
>
> as suggested. However, I am first of all starting with the
>
> http://udig.refractions.net/confluence/display/UDIG/Project+Quickstart
>
> as suggested in the 1st link, but I am having problems downloading all the
> JARs when performing the Project -> Clean step under the "Your first build"
> heading of the 2nd link.
>
> Attached is a log. Do you know why it fails to download so many JARs ?
>
> Thanks
> Andy
>
> -----Original Message-----
> From: udig-devel-bounces at lists.refractions.net
> [mailto:udig-devel-bounces at lists.refractions.net] On Behalf Of Jesse Eichar
> Sent: 11 September 2007 17:51
> To: User-friendly Desktop Internet GIS
> Subject: Re: [udig-devel] Turning the SDK into an EXE
>
> Hi,
>
> It looks like there was one critical step that isn't clear.
>
> You have to "export" your application. There are instructions for
> exporting uDig here:
> http://udig.refractions.net/confluence/display/UDIG/Export+Product
> +procedure
>
> The principal is the same. If you want all your own branding and
> stuff you'll need:
>
> 1. A feature that includes your plugins
> 2. A product feature that declares your branding information (splash
> screen icons etc...)
> 2a) In the product you'll need the eclipse RCP feature, the uDig
> feature and your feature
>
>
> Once you have those set up and can run your application from the
> product you have to use the export functionality exposed in the
> product editor to export you're custom application. This will export
> a zip file or to a directory. The export should have a directory
> called eclipse. If you run it it "should" run your app (as long as
> everything is configured right). THIS is what is supposed to be in
> the win-installer directory. The SDK and original eclipse are NOT
> supposed to be there. The workspace also is not supposed to be there.
>
> So
>
> win-installer\
> eclipse - the exported application as described above
> jre - the uDig JRE with JAI and Image IO.
>
> I think that is it...
>
> There is some information on the product stuff and application
> branding here:
>
> http://www.eclipse.org/articles/Article-Branding/branding-your-
> application.html
>
> Jesse
>
>
> On Sep 11, 2007, at 7:50 AM, Andy Cox wrote:
>
>
>> Jesse,
>>
>> I have made some progress re my last e-mail. I now have the following
>> directory structure:
>>
>> win-installer\
>> eclipse - the standard eclipse IDE (configured to run the
>> uDIG sdk & my code)
>> jre - the uDIG JRE with Java Advanced Imaging and Image IO
>> sdk - the uDIG SDK
>> workspace - the additional uDIG Java code that I have
>> written
>>
>> If I run NSIS and open the script uDigInstallScript.nsi all appears
>> to be
>> ok. If I then test the installer it all appears to install ok.
>> However, when
>> then run the installed exe all I get is an empty eclipse shell. How
>> do I
>> integrate my stuff into it ?
>>
>> Thanks
>> Andy
>>
>> -----Original Message-----
>> From: udig-devel-bounces at lists.refractions.net
>> [mailto:udig-devel-bounces at lists.refractions.net] On Behalf Of Andy
>> Cox
>> Sent: 11 September 2007 13:52
>> To: 'User-friendly Desktop Internet GIS'
>> Subject: RE: [udig-devel] Turning the SDK into an EXE
>>
>> Jesse,
>>
>> Thanks for the info. I presume you mean install NSIS as in
>> http://nsis.sourceforge.net/Main_Page.
>>
>> Please could you provide some more details on the other stages:
>>
>> 1. Where is the win-installer directory?
>> 2. I presume with the JRE you mean the one downloaded from uDIG
>> that has
>> been extended with Java Advanced Imaging and Image IO?
>> 3. How do I export the application if I have the following directory
>> structure
>> UDIG\
>> Eclipse - the eclipse IDE
>> SDK - the uDIG SDK
>> \configuration
>> \features
>> \plugins
>> Workspace - the additional uDIG Java code that I have
>> written
>>
>> 4. Which NSIS script do I need to run.
>>
>> Sorry but I could do with a bit of an idiots guide.
>>
>> Thanks in advance
>> Andy
>>
>> -----Original Message-----
>> From: udig-devel-bounces at lists.refractions.net
>> [mailto:udig-devel-bounces at lists.refractions.net] On Behalf Of
>> Jesse Eichar
>> Sent: 30 August 2007 16:49
>> To: User-friendly Desktop Internet GIS
>> Subject: Re: [udig-devel] Turning the SDK into an EXE
>>
>> Ok... So In our repository there is a nsis script that will convert
>> the eclipse export (and a JRE) to an exe installer. The http://
>> svn.geotools.org/udig/trunk/scripts/releases/bin/ directory has the
>> scripts. The do_release.sh script is to release windows, linux and
>> mac all at once. It requires you have wine installed and sh.
>>
>> However you don't need that script all you really need is the win-
>> installer directory. The steps basically are:
>>
>> 1. Install the NSIS program
>> 2. Put the JRE in the win-installer directory (it has to be name jre)
>> 3. Put the exported application (unzipped)
>> 4. Run the NSIS script.
>>
>> Jesse
>> On Aug 30, 2007, at 2:29 AM, Andy Cox wrote:
>>
>>
>>> Hello
>>>
>>> I have download and setup Eclipse using the SDK as per
>>>
>>> http://udig.refractions.net/confluence/display/DEV/0+SDK+Quickstart
>>>
>>> On disk I have the following directory structure:
>>>
>>> \UDIG\
>>> Eclipse
>>> UDIG_SDK
>>> Workspace
>>>
>>> Currently I am running my application from within Eclipse. I would
>>> like to
>>> bundle it all up into a standalone exe. Please can anyone help
>>> explain how
>>> to do this. I presume this must be similar to the process of
>>> creating the
>>> release version exe's
>>>
>>> Thanks
>>> Andy
>>>
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list