[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Erw-devel] Usage of ertool --forms

From: erw-devel
Subject: Re: [Erw-devel] Usage of ertool --forms
Date: 25 Jun 2003 20:23:18 +0200

On Wed, 2003-06-25 at 12:22, address@hidden wrote:
> Hi, 
> I am having some trouble with the new form customisation in ERW 0.9.8b 
> (downloaded & installed on 16/june). ertool --forms doesn't seem to work and 
> I'll use the example library.xml to explain.
> I have /var/www/erw/library/ which contains directories defs, defs/custom and 
> defs/forms. The library.xml is sitting in the defs directory while I use  
> ertool.  
> I've successfully created book.erf (file is attached to this email), 
> person.erf,etc in my defs/forms directory as follows:
> cd defs/forms
> ertool --default-forms < ../library.xml
> Then I am have trouble generating the form .php files even before customising 
> any of the default .erf files and I would like you to confirm the --forms 
> syntax.
> I tried the following commands but they seem to never finish executing and 
> don't create book.php as I expected. Note --default-forms takes only 1-2secs 
> to run but --forms book doesn't finish after minutes, if at all.
> ertool --forms book
> ertool --forms book.erf
> ertool --forms book.php
> ertool --forms book person subscriber
> So some further syntax attempts, but these fail with errors:
> ertool --forms book < ../library.xml

ertool --forms book.erf <../library.xml

It does not finish because it expects the ERL file coming from stdin.

The StringOutOfBoundsException is due to the fact that it is expecting
something ending in .something. I fixed that so that you can also use
just "book" and get book.php anyway.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]