1.4rc installation notes

View: New views
7 Messages — Rating Filter:   Alert me  

1.4rc installation notes

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wolfgang,

In order to solve the problem that UserInputPanel  does not create the directory specified by user, I propose you to split conf.xml in two files:
- modules.xml, dealing with activation of modules, and
- conf.xml, dealing with the rest of configuration options.

As a result, one can be able to create an installer and so on, which can propose to user to create a date directory (otherwise, the first created pth to data directory will be ketp not matter now generation of installer one makes).

On the other hand, the file modules.xml is an excellent starting point for that panel allowing to user activation of different modules during installation.

Claudius



     

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: 1.4rc installation notes

by Wolfgang Meier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Claudius,

I tested the changes you sent me today. The installer refuses to create
the data directory on Ubuntu as well. This is really annoying since it
requires all users to create a data directory themselves.

> In order to solve the problem that UserInputPanel  does not create
> the directory specified by user, I propose you to split conf.xml in
> two files: - modules.xml, dealing with activation of modules, and -
> conf.xml, dealing with the rest of configuration options.
>
> As a result, one can be able to create an installer and so on, which
> can propose to user to create a date directory (otherwise, the first
> created pth to data directory will be ketp not matter now generation
> of installer one makes).

Ok, could you explain in simple words how this would solve the data
directory issue? I'm sorry I didn't really understand the solution you
proposed. I'm stuck right now.

Wolfgang

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Parent Message unknown Re: 1.4rc installation notes

by Andrzej Jan Taramina :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Guys:

> In order to solve the problem that UserInputPanel  does not create the directory specified by user, I propose you to
> split conf.xml in two files: - modules.xml, dealing with activation of modules, and conf.xml, dealing with the rest
> of configuration options.

Just thought I would chime in on how we handle this...

The conf.xml file is XML...so it's easy to modify.  We build a custom WAR file (for Tomcat deployment) which customizes
the conf.xml file to our needs, including setting data directory (we use a relative dir location from the Tomcat root
dir), which modules we need activated, memory/caching parameters and all the rest. All of these changes are parametrized
as well.

It's easy to do....just write a small XSLT to read in the conf.xml.tmpl file, and apply whatever changes you need in the
transform, and output that as conf.xml.  Using ANT, this is pretty simple.

--
Andrzej Taramina
Chaeron Corporation: Enterprise System Solutions
http://www.chaeron.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: 1.4rc installation notes

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The fact that the installer does not create the data directory is a bug of izPack.

I mentioned this on their discussion list and one dveloper told me this.

The proposal to split conf.xml was made due to the fact that, after creating the first installer from svn, in conf.xml we have the izPack variable $dataDir that will serve the user to select the data directory. But, after such user will select the data directory (creation of this directory is another problem, mentioned above), conf.xml file will not have the izPack variable $dataDir; it will have the data directory's path. So, if such user wants to make an installer on his turn, conf.xml will not receive anymore a NEW data directory's path.

For solving this, I proposed you to split conf.xml in two files:
1. moodules.xml, for holding unchanged references to modules, which will pass as so into a new installer;
2. conf.xml, which will be replaced by conf.xml.tmpl and will hold the izPack variable $dataDir.

Regarding the data directory, I will follow up this bug.

The modules.xml will help us (if you agree) to make an installer panel for activation of the modules.


Claudius

P.S. I wrote last message last night, being almost aslept. Sorry :)


     

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: 1.4rc installation notes

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

izPack developers solved that bug regarding creation of user selected data directory, but for version 4.4.0.

There are not mentions and no answers about a release date, no matter that I insisted a lot.

So, at this very moment, the user would be requested to create the data directory before selects it.


Claudius

Re: 1.4rc installation notes

by Wolfgang Meier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Claudius,

I compiled IzPack from SVN and tested the build. The bug is fixed
indeed. We can use this version for the 1.4 final.

Thanks,

Wolfgang

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: 1.4rc installation notes

by claud108 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is good.

But if you want to implement the user selected data directory, you should consider my previous remarks about splitting conf.xml.

Claudius


     

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open