• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New WOLips/WebObjects/Eclipse installer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New WOLips/WebObjects/Eclipse installer


  • Subject: Re: New WOLips/WebObjects/Eclipse installer
  • From: Don Lindsay <email@hidden>
  • Date: Tue, 10 Jun 2008 00:58:33 -0400

The installer is still in testing, when it is Golden Mastered I my installer engine will package it.
Don
On Jun 9, 2008, at 11:46 PM, John Huss wrote:



------=_Part_15199_8892305.1213069616208 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

For windows it would be nice wrap the jar with a native executable. You can
do this easily with launch4j. That program also deals with the possibility
of not having java installed beforehand, which is also helpful.


John

On Mon, Jun 9, 2008 at 7:52 PM, Don Lindsay <email@hidden> wrote:

Hello;
i have uploaded the new installer to my .mac account. Ubuntu needs to be
tested. Redhat linux, SuSE, windows XP, Windows 2000, and Windows 2003 have
been tested.


The installer requires that Java 1.5 be installed prior to running the
installer. Download the installer from http://web.mac.com/pccdonl/wo.jar to run it type java -jar ./wo.jar (Linux) or java -jar .\wo.jar (windows) .



WOOpenURL is included for all supported platform (*nix). Eclipse has been branded with the WOLips Logo from the wiki site.

THIS INSTALLER IS NOT MEANT FOR OS X. YOU MUST HAVE AN INTERNET CONNECTION
to use the installer. The installer is not standalone.


There are many options that have been greyed out in the options dialog, I
will work on those after testing of the installer is complete. I wanted to
get the base installer up and wonder. Please send me your test results. If
you encounter errors, please send me the stack trace as well as the output
from java -version on your system and your Operating System name and
version.


Thanks,

Don

On Jun 7, 2008, at 1:02 AM, Don Lindsay wrote:

Hello;
I have just finished work on an update to the new installer.

There were only a couple of issues that were reported:

Downloading seemed to hang sometimes (fixed)
Installer did not roll-back when an error occurred (fixed)
Installer allowed spaces in the installation path (fixed)
Installer did not show dialogs when an error occurred (fixed)
Installer dialogs that did show for some reason were blank (fixed)

I received many requests for enhancements some were done:

Install wonder (done as optional).
Install EOGenerator template files (done as optional).
Install Documentation (done for wonder).
Install Report mill templates (done as optional)

Known issues:

For some reason ANT unTar is not reporting it's progress, so the progress
bar will stay at 15% until untar is at 100% for some items.
For some reason the WOLips features and plugins are showing as disabled,
but they still work just fine. You can re-enable them through manage
configuration. Enable in the following order (base, third party, wolips,
maven). Them being disabled does not appear to hurt anything.


Please let me know if you would like to test the installer.

Thanks,

Don

On Jun 4, 2008, at 11:20 PM, Don Lindsay wrote:

1) Ubuntu 8.04 - download and install completed, but had some problems

It appears you did not have root privileges when you installed eclipse, or
something happened when the file was unzipped and the executable bit was not
retained. -rw-r--r-- 1 root root 21423 2008-02-28 01:04 eclipse should
be rwx-rx-rx, do a chmod +x ./eclipse and see if it starts after you do
that.


wobuild.properties doesn't have the correct path to the wo libraries.
Should be in /Apple (that's the path I entered).

Did you do a browse or select? Send me the console output, it outputs the
directories that are entered by the user.



3) Repeat Windows attempt - failed during download (same way)

This has to do with your connectivity to the server we are downloading
from. Your connection is being reset either because your line is too slow,
or you have lost connectivity, and the remote server is forcing a reset, or
you have attempted to download too many times and they have reset you.


C:\My Apple Stuff

The WebObjects should not have any spaces in the name. I will enforce this
in the Installer.


java.net.UnknownHostException: ftp.osuosl.org

At this point your network is totally down (DNS resolution). Check your
DNS, if you are unable to resolve ftp.ousosl.org then there is something
wrong with your DNS server, try a new one.


java.net.UnknownHostException: webobjects.mdimension.com

Again this is a DNS error, meaning your network connection has died and the
server cannot be resolved or your DNS server is bad, try a new one.


No error was displayed except in the console, which is bad if this app will
be run without the console (which I hope it will). The error should be
displayed to the user so they know that it blew up and that they should just
sit and wait anymore.


I just added code today to notify the user an error occurred and to clean
up the installed files to return the system to the previous state.


I think the approach here needs to be re-thought. The size of the download
is so big that failure is highly likely, especially on a slower connection.
The problem is that failure requires the entire process to be done again
regardless of what may have already been completed. It would be better to
either:


1) preserve the completed downloads and restart only the failed one from
scratch


The completed downloads are retained, if you look in the directory you
start the installer from you will see the eclipse.zip file and WOLips.tar.gz
file. Since the installer is not a web browser and java does not support
restartable downloads over http, without writing an entirely new class, this
will probably not happen.


2) preserve the completed downloads and resume the failed one from where
the download was interrupted, or


See Above

3) bundle the non-proprietary portions into the installer instead of
downloading them on the fly so that the user can handle resuming interrupted
downloads. This wouldn't solve the problem alone, but could help.


There are no none proprietary portions of the download. Everything in the
downloads is licensed. I am not allowed to include any of them as
a re-distributable archive. In the case of WOLips, bug fixes happen weekly,
the installer would have to be rewritten every week to include the new
compiled features and plug-ins, no one has time to do this and upload it
every week or two weeks. Which is why there has not been an installer to
date.


2) Repeat Windows attempt - failed during download. This one hung with
downloading eclipse at 96%. There was not any error in the terminal. I
think I had to kill the program to end it.


This has happened to me once I believe it is caused by a Java Garbage
collection bug.

The installer never exited or showed a finish button. The progress got to
100%, but then nothing happened. Clicking the X for the window prompted,
"Do you really want to exit?", to which my answer is, "I'm not really sure,
I don't know if it's done yet." But I exited and it seemed to be ok. If
this is intentional, I strongly recommend adding a finish button to the
installer.


This was not intentional, there is a finish page. I was working on this
issue today.



Trying to install to an existing folder showed an empty dialog. Repeating
this a couple time, I couldn't recreate it, but I got a screenshot.


Please provide the version of Java you are using, This only occurs when
displaying custom dialogs, in this case, the system is telling you that you
cannot install to an existing directory.



Another time, when I clicked the X to exit the installer, the dialog cut
off all but the very tops of the two buttons so I didn't know which to
push. I think I have a screenshot at home I can grab later.


This is a Java Error, If you have a stack trace I can try to track it down.

The installer shows the total space needed for installation as 8.9 MB,
which is wrong. If the actually size isn't really known, it would be better
to not display anything here.


This is automated, I will remove it.

After the installation completes the installer should indicate where to go
and what to do to get started, like where to find eclipse to run it.


The installer has a finish page, which I believe I fixed to display today.
I can put a blurb in the Finish screen telling them to start Eclipse.


When eclipse loads the first time, it starts in the Java EE perspective,
which is not ideal. Can it start in the WOLips perspective?


There are some things I cannot do, mostly due to constraints on time
maintaining an custom eclipse installation, downloading 5 different versions
of Eclipse and zipping them up as custom distributable is one of those
things. Eclipse can be branded and distributed but I believe there is an
approval process for this type of distribution.



FYI, the documentation pointed at by wo.dir.reference.api is missing. This
is a needed addition since the javadoc in eclipse relies on this
information.


There is no documentation contained in the installer. The line in the
WOBuild file is there because Eclipse wants it there. I can look into
including the JavaDoc documentation for WebObjects.



Also, I don't see the WO examples either. These are also important to
provide to new users.


WO examples are part of XCode,we would have to download the entire XCode
and then parse it out to find the examples, and then extract them. Sorry, a
user can download these. This is an installer to get the up and running,
not everyone is going to want the examples, and they are a relatively small
download and can be placed anywhere on the hard disk. We cannot just zip
up the WO Examples directory and include them in an archive they belong to
Apple Inc.


The WOOpenURL program or a replacement should be included both for Windows
and Linux. I can provide a native app for Windows if you want.
Alternatively, you could use the SWT Program class to open the browser
(since swt is already installed with eclipse).


If there is a patch for the WOOpenURL application which works for every OS
platform, even if it is separate executables for each platform, I am happy
to include it if I have links to where the apps can be downloaded and the
file name listing and installation instructions for those applications.


It would be cool if there was a checkbox to download and install the latest
Project Wonder.


One step at a time.

And it would be really great if the installer could set up the apache or
cgi adaptor so you could develop in web mode instead of direct connect.


I would love that! And I might be able to do it in the future, there are
too many steps and too many changes, a well as compilation of the adaptor,
to be able to include in an installer which is meant to cross platforms.


It would be helpful if you could choose which parts to install, like just
WO without eclipse.


There is already an installer of this type.
http://webobjects.mdimension.com/wolips/WOInstaller.jar installs just WO




Thanks for all the great input.

Don
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


------=_Part_15199_8892305.1213069616208 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

For windows it would be nice wrap the jar with a native executable.&nbsp; You can do this easily with launch4j.&nbsp; That program also deals with the possibility of not having java installed beforehand, which is also helpful.<br><br>
John<br><br><div class="gmail_quote">On Mon, Jun 9, 2008 at 7:52 PM, Don Lindsay &lt;<a href="mailto:email@hidden";>email@hidden</ a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding- left: 1ex;">
<div style="">Hello;<div><br></div><div>i have uploaded the new installer to my .mac account. &nbsp;Ubuntu needs to be tested. &nbsp;Redhat linux, SuSE, windows XP, Windows 2000, and Windows 2003 have been tested. &nbsp;</div><div><br></div>
<div>The installer requires that Java 1.5 be installed prior to running the installer. &nbsp;Download the installer from <a href="http://web.mac.com/pccdonl/wo.jar " target="_blank">http://web.mac.com/pccdonl/wo.jar</a> &nbsp;to run it type java -jar ./wo.jar (Linux) or java -jar .\wo.jar (windows) . &nbsp;</div>
<div><br></div><div>WOOpenURL is included for all supported platform (*nix). &nbsp;</div><div>Eclipse has been branded with the WOLips Logo from the wiki site.</div><div><br></div><div>THIS INSTALLER IS NOT MEANT FOR OS X. &nbsp;YOU MUST HAVE AN INTERNET CONNECTION to use the installer. &nbsp;The installer is not standalone.</div>
<div><br></div><div>There are many options that have been greyed out in the options dialog, I will work on those after testing of the installer is complete. &nbsp;I wanted to get the base installer up and wonder. &nbsp;Please send me your test results. &nbsp;If you encounter errors, please send me the stack trace as well as the output from java -version on your system and your Operating System name and version.</div>
<div><br></div><div>Thanks,</div><div><br></div><div><font color="#888888">Don</font><div><div></div><div class="Wj3C7c"><br><div><div>On Jun 7, 2008, at 1:02 AM, Don Lindsay wrote:</div><br><blockquote type="cite"><div style="">
Hello;<div><br></div><div>I have just finished work on an update to the new installer. &nbsp;</div><div><br></div><div>There were only a couple of issues that were reported:</div><div><br></ div><div>Downloading seemed to hang sometimes (fixed)</div>
<div>Installer did not roll-back when an error occurred (fixed)</ div><div>Installer allowed spaces in the installation path (fixed)</ div><div>Installer did not show dialogs when an error occurred (fixed)</div><div>Installer dialogs that did show for some reason were blank (fixed)</div>
<div><br></div><div>I received many requests for enhancements some were done:</div><div><br></div><div>Install wonder (done as optional).</div><div>Install EOGenerator template files (done as optional).</div><div>Install Documentation (done for wonder).</div>
<div>Install Report mill templates (done as optional)</ div><div><br></div><div>Known issues:</div><div><br></div><div>For some reason ANT unTar is not reporting it&#39;s progress, so the progress bar will stay at 15% until untar is at 100% for some items.</div>
<div>For some reason the WOLips features and plugins are showing as disabled, but they still work just fine. &nbsp;You can re-enable them through manage configuration. &nbsp;Enable in the following order (base, third party, wolips, maven). &nbsp;Them being disabled does not appear to hurt anything.</div>
<div><br></div><div>Please let me know if you would like to test the installer.</div><div><br></div><div>Thanks,</div><div><br></ div><div>Don</div><div><br><div><div>On Jun 4, 2008, at 11:20 PM, Don Lindsay wrote:</div><br>
<blockquote type="cite"><div style=""><blockquote type="cite">1) Ubuntu 8.04 - download and install completed, but had some problems<br></blockquote>It appears you did not have root privileges when you installed eclipse, or something happened when the file was unzipped and the executable bit was not retained. &nbsp;-rw-r--r-- &nbsp; 1 root root&nbsp; 21423 2008-02-28 01:04 eclipse &nbsp;should be rwx-rx-rx, do a chmod +x ./eclipse and see if it starts after you do that.<div>
<br></div><div><div><blockquote type="cite">wobuild.properties doesn&#39;t have the correct path to the wo libraries.&nbsp; Should be in /Apple (that&#39;s the path I entered).<br></blockquote></ div><div>Did you do a browse or select? &nbsp;Send me the console output, it outputs the directories that are entered by the user.</div>
<div><div><blockquote type="cite"></blockquote><br><blockquote type="cite">3) Repeat Windows attempt - failed during download (same way)</blockquote>This has to do with your connectivity to the server we are downloading from. &nbsp;Your connection is being reset either because your line is too slow, or you have lost connectivity, and the remote server is forcing a reset, or you have attempted to download too many times and they have reset you.</div>
<div><br></div><div><blockquote type="cite">C:\My Apple Stuff</ blockquote>The WebObjects should not have any spaces in the name. &nbsp;I will enforce this in the Installer.</ div><div><br><blockquote type="cite">java.net.UnknownHostException: <a href="http://ftp.osuosl.org"; target="_blank">ftp.osuosl.org</a></ blockquote>
<div>At this point your network is totally down (DNS resolution). &nbsp;Check your DNS, if you are unable to resolve <a href="http://ftp.ousosl.org " target="_blank">ftp.ousosl.org</a> then there is something wrong with your DNS server, try a new one.</div>
<div><br></div><blockquote type="cite">java.net.UnknownHostException: <a href="http://webobjects.mdimension.com " target="_blank">webobjects.mdimension.com</a></blockquote>Again this is a DNS error, meaning your network connection has died and the server cannot be resolved or your DNS server is bad, try a new one.</div>
<div><br><blockquote type="cite">No error was displayed except in the console, which is bad if this app will be run without the console (which I hope it will).&nbsp; The error should be displayed to the user so they know that it blew up and that they should just sit and wait anymore.</blockquote>
I just added code today to notify the user an error occurred and to clean up the installed files to return the system to the previous state.</div><div><br><blockquote type="cite"><span>I think the approach here needs to be re-thought.&nbsp; The size of the download is so big that failure is highly likely, especially on a slower connection.&nbsp; The problem is that failure requires the entire process to be done again regardless of what may have already been completed.&nbsp; It would be better to either:</span></blockquote>
<blockquote type="cite"> 1) preserve the completed downloads and restart only the failed one from scratch</blockquote>The completed downloads are retained, if you look in the directory you start the installer from you will see the eclipse.zip file and WOLips.tar.gz file. &nbsp;Since the installer is not a web browser and java does not support restartable downloads over http, without writing an entirely new class, this will probably not happen.</div>
<div><br><blockquote type="cite">2) preserve the completed downloads and resume the failed one from where the download was interrupted, or</blockquote>See Above</div><div><br><blockquote type="cite">3) bundle the non-proprietary portions into the installer instead of downloading them on the fly so that the user can handle resuming interrupted downloads.&nbsp; This wouldn&#39;t solve the problem alone, but could help.</blockquote>
There are no none proprietary portions of the download. &nbsp;Everything in the downloads is licensed. &nbsp;I am not allowed to include any of them as a&nbsp;re- distributable&nbsp;archive. &nbsp;In the case of WOLips, bug fixes happen weekly, the installer would have to be rewritten every week to include the new compiled features and plug-ins, no one has time to do this and upload it every week or two weeks. &nbsp;Which is why there has not been an installer to date.</div>
<div><br><blockquote type="cite">2) Repeat Windows attempt - failed during download.&nbsp; This one hung with downloading eclipse at 96%.&nbsp; There was not any error in the terminal.&nbsp; I think I had to kill the program to end it.</blockquote>
This has happened to me once I believe it is caused by a Java Garbage collection bug.</div><div><br><blockquote type="cite">The installer never exited or showed a finish button.&nbsp; The progress got to 100%, but then nothing happened.&nbsp; Clicking the X for the window prompted, &quot;Do you really want to exit?&quot;, to which my answer is, &quot;I&#39;m not really sure, I don&#39;t know if it&#39;s done yet.&quot;&nbsp; But I exited and it seemed to be ok.&nbsp; If this is intentional, I strongly recommend adding a finish button to the installer.</blockquote>
This was not intentional, there is a finish page. &nbsp;I was working on this issue today.<br><blockquote type="cite"></ blockquote><br><blockquote type="cite">Trying to install to an existing folder showed an empty dialog.&nbsp; Repeating this a couple time, I couldn&#39;t recreate it, but I got a screenshot.</ blockquote>
Please provide the version of Java you are using, &nbsp; This only occurs when displaying custom dialogs, in this case, the system is telling you that you cannot install to an existing directory. &nbsp;<br><blockquote type="cite"></blockquote>
<br><blockquote type="cite">Another time, when I clicked the X to exit the installer, the dialog cut off all but the very tops of the two buttons so I didn&#39;t know which to push.&nbsp; I think I have a screenshot at home I can grab later.</blockquote>
This is a Java Error, If you have a stack trace I can try to track it down.</div><div><br><blockquote type="cite"><span>The installer shows the total space needed for installation as 8.9 MB, which is wrong.&nbsp; If the actually size isn&#39;t really known, it would be better to not display anything here.</span></blockquote>
</div><div>This is automated, I will remove it.</ div><div><br><blockquote type="cite">After the installation completes the installer should indicate where to go and what to do to get started, like where to find eclipse to run it.</blockquote>
The installer has a finish page, which I believe I fixed to display today. &nbsp; &nbsp;I can put a blurb in the Finish screen telling them to start Eclipse.</div><div><br></div><div><blockquote type="cite">When eclipse loads the first time, it starts in the Java EE perspective, which is not ideal.&nbsp; Can it start in the WOLips perspective?</blockquote>
There are some things I cannot do, mostly due to&nbsp;constraints&nbsp;on time maintaining an custom eclipse installation, downloading 5 different versions of Eclipse and zipping them up as custom&nbsp;distributable&nbsp;is one of those things. &nbsp;Eclipse can be branded and distributed but I believe there is an approval process for this type of distribution.</div>
<div><blockquote type="cite"></blockquote><br><blockquote type="cite">FYI, the documentation pointed at by wo.dir.reference.api is missing.&nbsp; This is a needed addition since the javadoc in eclipse relies on this information.</blockquote>
There is no documentation contained in the installer. &nbsp;The line in the WOBuild file is there because Eclipse wants it there. &nbsp;I can look into including the JavaDoc &nbsp;documentation for WebObjects.</div><div><blockquote type="cite">
</blockquote><br><blockquote type="cite">Also, I don&#39;t see the WO examples either.&nbsp; These are also important to provide to new users.</blockquote>WO examples are part of XCode,we would have to download the entire XCode and then parse it out to find the examples, and then extract them. &nbsp;Sorry, a user can download these. &nbsp;This is an installer to get the up and running, not everyone is going to want the examples, and they are a relatively small download and can be placed anywhere on the hard disk. &nbsp;We cannot just zip &nbsp;up the WO Examples directory and include them in an archive they belong to Apple Inc.</div>
<div><br></div><div><blockquote type="cite">The WOOpenURL program or a replacement should be included both for Windows and Linux.&nbsp; I can provide a native app for Windows if you want.&nbsp; Alternatively, you could use the SWT Program class to open the browser (since swt is already installed with eclipse).</blockquote>
If there is a patch for the WOOpenURL application which works for every OS platform, even if it is separate executables for each platform, I am happy to include it if I have links to where the apps can be downloaded and the file name listing and installation instructions for those applications.</div>
<div><br></div><div><blockquote type="cite">It would be cool if there was a checkbox to download and install the latest Project Wonder.</blockquote></div><div>One step at a time.</div><div><br></ div><div><blockquote type="cite">
And it would be really great if the installer could set up the apache or cgi adaptor so you could develop in web mode instead of direct connect.</blockquote><div>I would love that! &nbsp;And I might be able to do it in the future, there are too many steps and too many changes, a well as compilation of the adaptor, to be able to include in an installer which is meant to cross platforms.</div>
<br><blockquote type="cite">It would be helpful if you could choose which parts to install, like just WO without eclipse.</ blockquote>There is already an installer of this type. &nbsp;<a href="http://webobjects.mdimension.com/wolips/WOInstaller.jar"; target="_blank">http://webobjects.mdimension.com/wolips/WOInstaller.jar </a> installs just WO</div>
<div><blockquote type="cite"><br></blockquote><br>Thanks for all the great input.</div><div><br></div><div>Don</div></div></div></div> _______________________________________________<br>Do not post admin requests to the list. They will be ignored.<br>
Webobjects-dev mailing list &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<a href="mailto:email@hidden " target="_blank">email@hidden</a>)<br>Help/ </a><br>
<br>This email sent to <a href="mailto:email@hidden"; target="_blank">email@hidden</a></blockquote></div><br></div></ div></blockquote></div><br></div></div></div></ div><br>&nbsp;_______________________________________________<br>


Do not post admin requests to the list. They will be ignored.<br>
Webobjects-dev mailing list &nbsp; &nbsp; &nbsp;(<a href="mailto:email@hidden ">email@hidden</a>)<br>
Help/Unsubscribe/Update your Subscription:<br>
</a><br>
<br>
This email sent to <a href="mailto:email@hidden";>email@hidden </a><br></blockquote></div><br>


------=_Part_15199_8892305.1213069616208--

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Entity Modeler + Fetch Specs + null oddness
  • Next by Date: LEWOStuff (the stuff with JSON-RPC!)
  • Previous by thread: Re: New WOLips/WebObjects/Eclipse installer
  • Next by thread: model.validateKey intercepted on null?
  • Index(es):
    • Date
    • Thread