Wrapping ANT into an OFBIZ line command

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Wrapping ANT into an OFBIZ line command

Bruno Busco
May be this is a silly one but I just want to share this idea with you.

What do you think about "renaming" the "ant" command to "ofbiz"?

I mean we should use commands like "ofbiz run-install" instead of "ant
run-install" or
"ofbiz create-admin-user-login" instead of "ant create-admin-user-login"
etc.

Running "ofbiz" alone we should get the list of all possible commands with a
short description (just like any other command line tool).

IMO it makes even more sense now that we have the ant engine integrated in
the ofbiz itself and do not need to have it installed in the system.
May be it is not the case but if we would some day change ant with something
else this would be completely transparent to the user.

Thank you for any comment on this.

-Bruno
Reply | Threaded
Open this post in threaded view
|

Re: Wrapping ANT into an OFBIZ line command

chris snow-2
+1, this was on my TODO list - something similar to glassfish's asadmin

On Sun, Mar 14, 2010 at 8:55 AM, Bruno Busco <[hidden email]> wrote:

> May be this is a silly one but I just want to share this idea with you.
>
> What do you think about "renaming" the "ant" command to "ofbiz"?
>
> I mean we should use commands like "ofbiz run-install" instead of "ant
> run-install" or
> "ofbiz create-admin-user-login" instead of "ant create-admin-user-login"
> etc.
>
> Running "ofbiz" alone we should get the list of all possible commands with
> a
> short description (just like any other command line tool).
>
> IMO it makes even more sense now that we have the ant engine integrated in
> the ofbiz itself and do not need to have it installed in the system.
> May be it is not the case but if we would some day change ant with
> something
> else this would be completely transparent to the user.
>
> Thank you for any comment on this.
>
> -Bruno
>
Reply | Threaded
Open this post in threaded view
|

Re: Wrapping ANT into an OFBIZ line command

Jacopo Cappellato-4
In reply to this post by Bruno Busco
I think I like the idea!
Maybe instead of "ofbiz" we could use "ofbizadmin" or similar.

Jacopo

On Mar 14, 2010, at 9:55 AM, Bruno Busco wrote:

> May be this is a silly one but I just want to share this idea with you.
>
> What do you think about "renaming" the "ant" command to "ofbiz"?
>
> I mean we should use commands like "ofbiz run-install" instead of "ant
> run-install" or
> "ofbiz create-admin-user-login" instead of "ant create-admin-user-login"
> etc.
>
> Running "ofbiz" alone we should get the list of all possible commands with a
> short description (just like any other command line tool).
>
> IMO it makes even more sense now that we have the ant engine integrated in
> the ofbiz itself and do not need to have it installed in the system.
> May be it is not the case but if we would some day change ant with something
> else this would be completely transparent to the user.
>
> Thank you for any comment on this.
>
> -Bruno

Reply | Threaded
Open this post in threaded view
|

Re: Wrapping ANT into an OFBIZ line command

Jacques Le Roux
Administrator
The shorter the best , with not "ofb" (though ofbiz is certainly easier to retain) ?

Jacques

From: "Jacopo Cappellato" <[hidden email]>

>I think I like the idea!
> Maybe instead of "ofbiz" we could use "ofbizadmin" or similar.
>
> Jacopo
>
> On Mar 14, 2010, at 9:55 AM, Bruno Busco wrote:
>
>> May be this is a silly one but I just want to share this idea with you.
>>
>> What do you think about "renaming" the "ant" command to "ofbiz"?
>>
>> I mean we should use commands like "ofbiz run-install" instead of "ant
>> run-install" or
>> "ofbiz create-admin-user-login" instead of "ant create-admin-user-login"
>> etc.
>>
>> Running "ofbiz" alone we should get the list of all possible commands with a
>> short description (just like any other command line tool).
>>
>> IMO it makes even more sense now that we have the ant engine integrated in
>> the ofbiz itself and do not need to have it installed in the system.
>> May be it is not the case but if we would some day change ant with something
>> else this would be completely transparent to the user.
>>
>> Thank you for any comment on this.
>>
>> -Bruno
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Wrapping ANT into an OFBIZ line command

Jacques Le Roux
Administrator
Of course "why not"

Jacques

From: "Jacques Le Roux" <[hidden email]>

> The shorter the best , with not "ofb" (though ofbiz is certainly easier to retain) ?
>
> Jacques
>
> From: "Jacopo Cappellato" <[hidden email]>
>>I think I like the idea!
>> Maybe instead of "ofbiz" we could use "ofbizadmin" or similar.
>>
>> Jacopo
>>
>> On Mar 14, 2010, at 9:55 AM, Bruno Busco wrote:
>>
>>> May be this is a silly one but I just want to share this idea with you.
>>>
>>> What do you think about "renaming" the "ant" command to "ofbiz"?
>>>
>>> I mean we should use commands like "ofbiz run-install" instead of "ant
>>> run-install" or
>>> "ofbiz create-admin-user-login" instead of "ant create-admin-user-login"
>>> etc.
>>>
>>> Running "ofbiz" alone we should get the list of all possible commands with a
>>> short description (just like any other command line tool).
>>>
>>> IMO it makes even more sense now that we have the ant engine integrated in
>>> the ofbiz itself and do not need to have it installed in the system.
>>> May be it is not the case but if we would some day change ant with something
>>> else this would be completely transparent to the user.
>>>
>>> Thank you for any comment on this.
>>>
>>> -Bruno
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Wrapping ANT into an OFBIZ line command

Adrian Crum-2
In reply to this post by Bruno Busco
I like the idea. Some users might expect the ofbiz command without arguments to start OFBiz.

-Adrian

--- On Sun, 3/14/10, Bruno Busco <[hidden email]> wrote:

> From: Bruno Busco <[hidden email]>
> Subject: Wrapping ANT into an OFBIZ line command
> To: [hidden email]
> Date: Sunday, March 14, 2010, 12:55 AM
> May be this is a silly one but I just
> want to share this idea with you.
>
> What do you think about "renaming" the "ant" command to
> "ofbiz"?
>
> I mean we should use commands like "ofbiz run-install"
> instead of "ant
> run-install" or
> "ofbiz create-admin-user-login" instead of "ant
> create-admin-user-login"
> etc.
>
> Running "ofbiz" alone we should get the list of all
> possible commands with a
> short description (just like any other command line tool).
>
> IMO it makes even more sense now that we have the ant
> engine integrated in
> the ofbiz itself and do not need to have it installed in
> the system.
> May be it is not the case but if we would some day change
> ant with something
> else this would be completely transparent to the user.
>
> Thank you for any comment on this.
>
> -Bruno
>


     
Reply | Threaded
Open this post in threaded view
|

Re: Wrapping ANT into an OFBIZ line command

Adam Heath-2
Adrian Crum wrote:
> I like the idea. Some users might expect the ofbiz command without arguments to start OFBiz.

It's not straight forward.  This thread implies merging ant and
startofbiz.sh shell scripts(and the batch files too).  However, there
are several things that startofbiz.sh supports, and several that
build.xml(called by ant) supports, and how would the shell script know
which is which?

I've spent the last 5 minutes looking and thinking about this, and
it's not just a simple file rename.