Re: Renaming some ant tasks to improve consistency

2012-04-02 Thread Jacopo Cappellato
Ok, I went ahead and committed the changes in rev. 1308370
I know that these changes may annoy the persons that are used to the 
old/traditional names; I really think that the reviewed versions make more 
sense and, even if now will cause some headache, I am sure that in the future 
they will help to present a better/cleaner system to the first time users.
Please give it some time to adjust to the new version and test it for some 
time; then if there are issues etc... we can review this work and/or modify it.

For now I didn't change the name of the ant.sh/ant.bat scripts to 
ofbiz.sh/ofbiz.bat but I would like to consider it soon.

Thanks,

Jacopo


On Mar 30, 2012, at 11:49 AM, Jacques Le Roux wrote:

 +1 
 Jacques
 
 From: Pierre Smits pierre.sm...@gmail.com
 +1
 Op 30 maart 2012 09:02 schreef Jacopo Cappellato 
 jacopo.cappell...@hotwaxmedia.com het volgende:
 another nice thing we could do, merely esthetic, is to rename
 ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
 Then the commands will be like:
 
 ofbiz load-demo
 ofbiz run-tests
 ofbiz start
 ofbiz stop
 
 etc...
 
 Jacopo
 
 On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:
 
  Ok,
 
  I have completed my work on this; however instead of running the new
 tasks from the old task I have preferred to print a message to inform the
 user about the new syntax; it seems to me that this is an easier transition
 because at some point we will remove.
  I also renamed a couple more tasks and refactored one to replace 2 more;
 I have also cleaned and improved the style of the descriptions.
  Since these changes ended up being more than what I initially proposed
 in this thread, I will wait before committing my work to the trunk and I
 have instead created a Jira ticket where I have described all the changes I
 did and attached the patch:
  https://issues.apache.org/jira/browse/OFBIZ-4771
 
  Please review my work and let me know if you see issues in it; I would
 like to commit it in a few days.
 
  Regards,
 
  Jacopo
 
  PS: for your reference, here is the new output of the ant -p command:
 
 
 
  build-website For committers : Update dtds from OFBiz
 instance to site
 
  clean-all Clean all DB, Catalina and caches data,
 logs, and runtime subdirectories and all specific files like .rej, .orig
  clean-cache   Clean the UtilCache file if errors found
 with old objects in the cache (Java runtime error something like 'local
 class incompatible')
  clean-catalinaClean Catalina data in
 runtime/catalina/work
  clean-dataClean all DB data (Derby) under
 runtime/data
  clean-downloads   Clean all downloaded files
  clean-logsClean all logs in runtime/logs
  clean-lucene-indexRemove lucene indexes created in
 applications/content/index
  clean-output  Clean runtime/output directory
  clean-tempfiles   Remove files located in runtime/tempfiles
 (captcha, etc...)
  clean-xtraClean all other files like .rej, .orig,
 etc.
 
  cobertura-report  Generate a HTML code coverage report with
 cobertura, can be found in runtime/logs/cobertura-report
  cobertura-report-xml  Generate a XML file from the cobertura
 report, this will be use by sonar
  copy-dtds For committers : Copy all dtds from OFBiz
 instance to website
 
  create-admin-user-login   Prompt for a user name, then create a user
 login with admin privileges and a temporary password equal to 'ofbiz'.
 After a successful login the user will be prompted for a new password.
  create-component  Create the layout of an OFBiz component in
 the hot-deploy folder.
  create-tenant Create a new tenant in your environment,
 create the delegator, load initial data with admin-user and password (needs
 multitenant=Y in general.properties)
 
  docs-all  For committers : Build all javadoc into
 one tree for easier viewing by the community
  download-PG-JDBC  Download postgres jdbc driver
  download-selenium Download the selenium server v1.0.3 20.8
 MB download
 
  load-admin-user-login Create a user login with admin privileges
 and a temporary password equal to 'ofbiz'; after a successful login the
 user will be prompted for a new password.[...]
  load-all-tenants  Load data for all tenants, syntax eg: ant
 load-all-tenants (needs multitenant=Y in general.properties)
  load-demo Load all data; meant for generic OFBiz
 development, testing, demonstration, etc purposes
  load-demo-multitenant Load all data needed for the multi-tenancy
 demonstration. Caution: this creates three databases, with each one loaded
 with all demo data.
  load-extseed  Load seed, seed-initial and ext data;
 meant for 

Re: Renaming some ant tasks to improve consistency

2012-04-02 Thread Jacques Le Roux

From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com

Ok, I went ahead and committed the changes in rev. 1308370
I know that these changes may annoy the persons that are used to the old/traditional names; I really think that the reviewed 
versions make more sense and, even if now will cause some headache, I am sure that in the future they will help to present a 
better/cleaner system to the first time users.
Please give it some time to adjust to the new version and test it for some time; then if there are issues etc... we can review 
this work and/or modify it.


For now I didn't change the name of the ant.sh/ant.bat scripts to 
ofbiz.sh/ofbiz.bat but I would like to consider it soon.


+1

Jacques


Thanks,

Jacopo


On Mar 30, 2012, at 11:49 AM, Jacques Le Roux wrote:


+1
Jacques

From: Pierre Smits pierre.sm...@gmail.com

+1
Op 30 maart 2012 09:02 schreef Jacopo Cappellato 
jacopo.cappell...@hotwaxmedia.com het volgende:

another nice thing we could do, merely esthetic, is to rename
ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
Then the commands will be like:

ofbiz load-demo
ofbiz run-tests
ofbiz start
ofbiz stop

etc...

Jacopo

On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:

 Ok,

 I have completed my work on this; however instead of running the new
tasks from the old task I have preferred to print a message to inform the
user about the new syntax; it seems to me that this is an easier transition
because at some point we will remove.
 I also renamed a couple more tasks and refactored one to replace 2 more;
I have also cleaned and improved the style of the descriptions.
 Since these changes ended up being more than what I initially proposed
in this thread, I will wait before committing my work to the trunk and I
have instead created a Jira ticket where I have described all the changes I
did and attached the patch:
 https://issues.apache.org/jira/browse/OFBIZ-4771

 Please review my work and let me know if you see issues in it; I would
like to commit it in a few days.

 Regards,

 Jacopo

 PS: for your reference, here is the new output of the ant -p command:



 build-website For committers : Update dtds from OFBiz
instance to site

 clean-all Clean all DB, Catalina and caches data,
logs, and runtime subdirectories and all specific files like .rej, .orig
 clean-cache   Clean the UtilCache file if errors found
with old objects in the cache (Java runtime error something like 'local
class incompatible')
 clean-catalinaClean Catalina data in
runtime/catalina/work
 clean-dataClean all DB data (Derby) under
runtime/data
 clean-downloads   Clean all downloaded files
 clean-logsClean all logs in runtime/logs
 clean-lucene-indexRemove lucene indexes created in
applications/content/index
 clean-output  Clean runtime/output directory
 clean-tempfiles   Remove files located in runtime/tempfiles
(captcha, etc...)
 clean-xtraClean all other files like .rej, .orig,
etc.

 cobertura-report  Generate a HTML code coverage report with
cobertura, can be found in runtime/logs/cobertura-report
 cobertura-report-xml  Generate a XML file from the cobertura
report, this will be use by sonar
 copy-dtds For committers : Copy all dtds from OFBiz
instance to website

 create-admin-user-login   Prompt for a user name, then create a user
login with admin privileges and a temporary password equal to 'ofbiz'.
After a successful login the user will be prompted for a new password.
 create-component  Create the layout of an OFBiz component in
the hot-deploy folder.
 create-tenant Create a new tenant in your environment,
create the delegator, load initial data with admin-user and password (needs
multitenant=Y in general.properties)

 docs-all  For committers : Build all javadoc into
one tree for easier viewing by the community
 download-PG-JDBC  Download postgres jdbc driver
 download-selenium Download the selenium server v1.0.3 20.8
MB download

 load-admin-user-login Create a user login with admin privileges
and a temporary password equal to 'ofbiz'; after a successful login the
user will be prompted for a new password.[...]
 load-all-tenants  Load data for all tenants, syntax eg: ant
load-all-tenants (needs multitenant=Y in general.properties)
 load-demo Load all data; meant for generic OFBiz
development, testing, demonstration, etc purposes
 load-demo-multitenant Load all data needed for the multi-tenancy
demonstration. Caution: this creates three databases, with each one loaded
with all demo data.
 load-extseed  Load seed, seed-initial and ext data;
meant for manual/generic testing, 

Re: Renaming some ant tasks to improve consistency

2012-04-02 Thread Anne
On 3 April 2012 00:59, Jacopo Cappellato
jacopo.cappell...@hotwaxmedia.comwrote:

 ...
 For now I didn't change the name of the ant.sh/ant.bat scripts to
 ofbiz.sh/ofbiz.bat but I would like to consider it soon.


+1 Will reduce the number of people having problems because they are using
the wrong version of ant (e.g. ant instead of ./ant)


Thanks,

 Jacopo


 On Mar 30, 2012, at 11:49 AM, Jacques Le Roux wrote:

  +1
  Jacques
 
  From: Pierre Smits pierre.sm...@gmail.com
  +1
  Op 30 maart 2012 09:02 schreef Jacopo Cappellato 
  jacopo.cappell...@hotwaxmedia.com het volgende:
  another nice thing we could do, merely esthetic, is to rename
  ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
  Then the commands will be like:
 
  ofbiz load-demo
  ofbiz run-tests
  ofbiz start
  ofbiz stop
 
  etc...
 
  Jacopo
 
  On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:
 
   Ok,
  
   I have completed my work on this; however instead of running the new
  tasks from the old task I have preferred to print a message to inform
 the
  user about the new syntax; it seems to me that this is an easier
 transition
  because at some point we will remove.
   I also renamed a couple more tasks and refactored one to replace 2
 more;
  I have also cleaned and improved the style of the descriptions.
   Since these changes ended up being more than what I initially
 proposed
  in this thread, I will wait before committing my work to the trunk and
 I
  have instead created a Jira ticket where I have described all the
 changes I
  did and attached the patch:
   https://issues.apache.org/jira/browse/OFBIZ-4771
  
   Please review my work and let me know if you see issues in it; I
 would
  like to commit it in a few days.
  
   Regards,
  
   Jacopo
  
   PS: for your reference, here is the new output of the ant -p
 command:
  
  
 
 
   build-website For committers : Update dtds from OFBiz
  instance to site
  
   clean-all Clean all DB, Catalina and caches data,
  logs, and runtime subdirectories and all specific files like .rej,
 .orig
   clean-cache   Clean the UtilCache file if errors
 found
  with old objects in the cache (Java runtime error something like 'local
  class incompatible')
   clean-catalinaClean Catalina data in
  runtime/catalina/work
   clean-dataClean all DB data (Derby) under
  runtime/data
   clean-downloads   Clean all downloaded files
   clean-logsClean all logs in runtime/logs
   clean-lucene-indexRemove lucene indexes created in
  applications/content/index
   clean-output  Clean runtime/output directory
   clean-tempfiles   Remove files located in
 runtime/tempfiles
  (captcha, etc...)
   clean-xtraClean all other files like .rej, .orig,
  etc.
  
   cobertura-report  Generate a HTML code coverage report
 with
  cobertura, can be found in runtime/logs/cobertura-report
   cobertura-report-xml  Generate a XML file from the cobertura
  report, this will be use by sonar
   copy-dtds For committers : Copy all dtds from
 OFBiz
  instance to website
  
   create-admin-user-login   Prompt for a user name, then create a
 user
  login with admin privileges and a temporary password equal to 'ofbiz'.
  After a successful login the user will be prompted for a new password.
   create-component  Create the layout of an OFBiz
 component in
  the hot-deploy folder.
   create-tenant Create a new tenant in your
 environment,
  create the delegator, load initial data with admin-user and password
 (needs
  multitenant=Y in general.properties)
  
   docs-all  For committers : Build all javadoc into
  one tree for easier viewing by the community
   download-PG-JDBC  Download postgres jdbc driver
   download-selenium Download the selenium server v1.0.3
 20.8
  MB download
  
   load-admin-user-login Create a user login with admin
 privileges
  and a temporary password equal to 'ofbiz'; after a successful login the
  user will be prompted for a new password.[...]
   load-all-tenants  Load data for all tenants, syntax eg:
 ant
  load-all-tenants (needs multitenant=Y in general.properties)
   load-demo Load all data; meant for generic OFBiz
  development, testing, demonstration, etc purposes
   load-demo-multitenant Load all data needed for the
 multi-tenancy
  demonstration. Caution: this creates three databases, with each one
 loaded
  with all demo data.
   load-extseed  Load seed, seed-initial and ext data;
  meant for manual/generic testing, development, or going into production
  with a derived system based on stock OFBiz where the ext data basically
  replaces the demo data
   load-exttest   

Re: Renaming some ant tasks to improve consistency

2012-03-30 Thread Jacopo Cappellato
another nice thing we could do, merely esthetic, is to rename 
ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
Then the commands will be like:

ofbiz load-demo
ofbiz run-tests
ofbiz start
ofbiz stop

etc...

Jacopo

On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:

 Ok,
 
 I have completed my work on this; however instead of running the new tasks 
 from the old task I have preferred to print a message to inform the user 
 about the new syntax; it seems to me that this is an easier transition 
 because at some point we will remove.
 I also renamed a couple more tasks and refactored one to replace 2 more; I 
 have also cleaned and improved the style of the descriptions.
 Since these changes ended up being more than what I initially proposed in 
 this thread, I will wait before committing my work to the trunk and I have 
 instead created a Jira ticket where I have described all the changes I did 
 and attached the patch:
 https://issues.apache.org/jira/browse/OFBIZ-4771
 
 Please review my work and let me know if you see issues in it; I would like 
 to commit it in a few days.
 
 Regards,
 
 Jacopo
 
 PS: for your reference, here is the new output of the ant -p command:
 
 
 build-website For committers : Update dtds from OFBiz 
 instance to site
 
 clean-all Clean all DB, Catalina and caches data, logs, 
 and runtime subdirectories and all specific files like .rej, .orig
 clean-cache   Clean the UtilCache file if errors found with 
 old objects in the cache (Java runtime error something like 'local class 
 incompatible')
 clean-catalinaClean Catalina data in runtime/catalina/work
 clean-dataClean all DB data (Derby) under runtime/data
 clean-downloads   Clean all downloaded files
 clean-logsClean all logs in runtime/logs
 clean-lucene-indexRemove lucene indexes created in 
 applications/content/index
 clean-output  Clean runtime/output directory
 clean-tempfiles   Remove files located in runtime/tempfiles 
 (captcha, etc...)
 clean-xtraClean all other files like .rej, .orig, etc.
 
 cobertura-report  Generate a HTML code coverage report with 
 cobertura, can be found in runtime/logs/cobertura-report
 cobertura-report-xml  Generate a XML file from the cobertura report, 
 this will be use by sonar
 copy-dtds For committers : Copy all dtds from OFBiz 
 instance to website
 
 create-admin-user-login   Prompt for a user name, then create a user 
 login with admin privileges and a temporary password equal to 'ofbiz'. After 
 a successful login the user will be prompted for a new password.
 create-component  Create the layout of an OFBiz component in the 
 hot-deploy folder.
 create-tenant Create a new tenant in your environment, create 
 the delegator, load initial data with admin-user and password (needs 
 multitenant=Y in general.properties)
 
 docs-all  For committers : Build all javadoc into one 
 tree for easier viewing by the community
 download-PG-JDBC  Download postgres jdbc driver
 download-selenium Download the selenium server v1.0.3 20.8 MB 
 download
 
 load-admin-user-login Create a user login with admin privileges and a 
 temporary password equal to 'ofbiz'; after a successful login the user will 
 be prompted for a new password.[...]
 load-all-tenants  Load data for all tenants, syntax eg: ant 
 load-all-tenants (needs multitenant=Y in general.properties)
 load-demo Load all data; meant for generic OFBiz 
 development, testing, demonstration, etc purposes
 load-demo-multitenant Load all data needed for the multi-tenancy 
 demonstration. Caution: this creates three databases, with each one loaded 
 with all demo data.
 load-extseed  Load seed, seed-initial and ext data; meant for 
 manual/generic testing, development, or going into production with a derived 
 system based on stock OFBiz where the ext data basically replaces the demo 
 data
 load-exttest  Load seed, seed-initial, ext and ext-test data; 
 meant for automated testing with a derived system based on stock OFBiz
 load-file Load data using the command line argument 
 'data-file' to load data from a given file using the 'default' delegator or a 
 delegator specified in the command line argument 'delegator'
 load-readers  Load data using the command line argument 
 data-readers that takes a comma separated list of readers (seed, 
 seed-initial, demo, ext, ext-test, ext-demo).[...]
 load-seed Load ONLY the seed data (not seed-initial, 
 demo, ext* or anything else); meant for use after an update of the code to 
 reload the seed data as it is 

Re: Renaming some ant tasks to improve consistency

2012-03-30 Thread Pierre Smits
+1

Op 30 maart 2012 09:02 schreef Jacopo Cappellato 
jacopo.cappell...@hotwaxmedia.com het volgende:

 another nice thing we could do, merely esthetic, is to rename
 ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
 Then the commands will be like:

 ofbiz load-demo
 ofbiz run-tests
 ofbiz start
 ofbiz stop

 etc...

 Jacopo

 On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:

  Ok,
 
  I have completed my work on this; however instead of running the new
 tasks from the old task I have preferred to print a message to inform the
 user about the new syntax; it seems to me that this is an easier transition
 because at some point we will remove.
  I also renamed a couple more tasks and refactored one to replace 2 more;
 I have also cleaned and improved the style of the descriptions.
  Since these changes ended up being more than what I initially proposed
 in this thread, I will wait before committing my work to the trunk and I
 have instead created a Jira ticket where I have described all the changes I
 did and attached the patch:
  https://issues.apache.org/jira/browse/OFBIZ-4771
 
  Please review my work and let me know if you see issues in it; I would
 like to commit it in a few days.
 
  Regards,
 
  Jacopo
 
  PS: for your reference, here is the new output of the ant -p command:
 
 
 
  build-website For committers : Update dtds from OFBiz
 instance to site
 
  clean-all Clean all DB, Catalina and caches data,
 logs, and runtime subdirectories and all specific files like .rej, .orig
  clean-cache   Clean the UtilCache file if errors found
 with old objects in the cache (Java runtime error something like 'local
 class incompatible')
  clean-catalinaClean Catalina data in
 runtime/catalina/work
  clean-dataClean all DB data (Derby) under
 runtime/data
  clean-downloads   Clean all downloaded files
  clean-logsClean all logs in runtime/logs
  clean-lucene-indexRemove lucene indexes created in
 applications/content/index
  clean-output  Clean runtime/output directory
  clean-tempfiles   Remove files located in runtime/tempfiles
 (captcha, etc...)
  clean-xtraClean all other files like .rej, .orig,
 etc.
 
  cobertura-report  Generate a HTML code coverage report with
 cobertura, can be found in runtime/logs/cobertura-report
  cobertura-report-xml  Generate a XML file from the cobertura
 report, this will be use by sonar
  copy-dtds For committers : Copy all dtds from OFBiz
 instance to website
 
  create-admin-user-login   Prompt for a user name, then create a user
 login with admin privileges and a temporary password equal to 'ofbiz'.
 After a successful login the user will be prompted for a new password.
  create-component  Create the layout of an OFBiz component in
 the hot-deploy folder.
  create-tenant Create a new tenant in your environment,
 create the delegator, load initial data with admin-user and password (needs
 multitenant=Y in general.properties)
 
  docs-all  For committers : Build all javadoc into
 one tree for easier viewing by the community
  download-PG-JDBC  Download postgres jdbc driver
  download-selenium Download the selenium server v1.0.3 20.8
 MB download
 
  load-admin-user-login Create a user login with admin privileges
 and a temporary password equal to 'ofbiz'; after a successful login the
 user will be prompted for a new password.[...]
  load-all-tenants  Load data for all tenants, syntax eg: ant
 load-all-tenants (needs multitenant=Y in general.properties)
  load-demo Load all data; meant for generic OFBiz
 development, testing, demonstration, etc purposes
  load-demo-multitenant Load all data needed for the multi-tenancy
 demonstration. Caution: this creates three databases, with each one loaded
 with all demo data.
  load-extseed  Load seed, seed-initial and ext data;
 meant for manual/generic testing, development, or going into production
 with a derived system based on stock OFBiz where the ext data basically
 replaces the demo data
  load-exttest  Load seed, seed-initial, ext and ext-test
 data; meant for automated testing with a derived system based on stock OFBiz
  load-file Load data using the command line argument
 'data-file' to load data from a given file using the 'default' delegator or
 a delegator specified in the command line argument 'delegator'
  load-readers  Load data using the command line argument
 data-readers that takes a comma separated list of readers (seed,
 seed-initial, demo, ext, ext-test, ext-demo).[...]
  load-seed Load ONLY the seed data (not 

Re: Renaming some ant tasks to improve consistency

2012-03-30 Thread Tim Ruppert
+1

Cheers,
Ruppert

On Mar 30, 2012, at 1:05 AM, Pierre Smits wrote:

 +1
 
 Op 30 maart 2012 09:02 schreef Jacopo Cappellato 
 jacopo.cappell...@hotwaxmedia.com het volgende:
 
 another nice thing we could do, merely esthetic, is to rename
 ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
 Then the commands will be like:
 
 ofbiz load-demo
 ofbiz run-tests
 ofbiz start
 ofbiz stop
 
 etc...
 
 Jacopo
 
 On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:
 
 Ok,
 
 I have completed my work on this; however instead of running the new
 tasks from the old task I have preferred to print a message to inform the
 user about the new syntax; it seems to me that this is an easier transition
 because at some point we will remove.
 I also renamed a couple more tasks and refactored one to replace 2 more;
 I have also cleaned and improved the style of the descriptions.
 Since these changes ended up being more than what I initially proposed
 in this thread, I will wait before committing my work to the trunk and I
 have instead created a Jira ticket where I have described all the changes I
 did and attached the patch:
 https://issues.apache.org/jira/browse/OFBIZ-4771
 
 Please review my work and let me know if you see issues in it; I would
 like to commit it in a few days.
 
 Regards,
 
 Jacopo
 
 PS: for your reference, here is the new output of the ant -p command:
 
 
 
 build-website For committers : Update dtds from OFBiz
 instance to site
 
 clean-all Clean all DB, Catalina and caches data,
 logs, and runtime subdirectories and all specific files like .rej, .orig
 clean-cache   Clean the UtilCache file if errors found
 with old objects in the cache (Java runtime error something like 'local
 class incompatible')
 clean-catalinaClean Catalina data in
 runtime/catalina/work
 clean-dataClean all DB data (Derby) under
 runtime/data
 clean-downloads   Clean all downloaded files
 clean-logsClean all logs in runtime/logs
 clean-lucene-indexRemove lucene indexes created in
 applications/content/index
 clean-output  Clean runtime/output directory
 clean-tempfiles   Remove files located in runtime/tempfiles
 (captcha, etc...)
 clean-xtraClean all other files like .rej, .orig,
 etc.
 
 cobertura-report  Generate a HTML code coverage report with
 cobertura, can be found in runtime/logs/cobertura-report
 cobertura-report-xml  Generate a XML file from the cobertura
 report, this will be use by sonar
 copy-dtds For committers : Copy all dtds from OFBiz
 instance to website
 
 create-admin-user-login   Prompt for a user name, then create a user
 login with admin privileges and a temporary password equal to 'ofbiz'.
 After a successful login the user will be prompted for a new password.
 create-component  Create the layout of an OFBiz component in
 the hot-deploy folder.
 create-tenant Create a new tenant in your environment,
 create the delegator, load initial data with admin-user and password (needs
 multitenant=Y in general.properties)
 
 docs-all  For committers : Build all javadoc into
 one tree for easier viewing by the community
 download-PG-JDBC  Download postgres jdbc driver
 download-selenium Download the selenium server v1.0.3 20.8
 MB download
 
 load-admin-user-login Create a user login with admin privileges
 and a temporary password equal to 'ofbiz'; after a successful login the
 user will be prompted for a new password.[...]
 load-all-tenants  Load data for all tenants, syntax eg: ant
 load-all-tenants (needs multitenant=Y in general.properties)
 load-demo Load all data; meant for generic OFBiz
 development, testing, demonstration, etc purposes
 load-demo-multitenant Load all data needed for the multi-tenancy
 demonstration. Caution: this creates three databases, with each one loaded
 with all demo data.
 load-extseed  Load seed, seed-initial and ext data;
 meant for manual/generic testing, development, or going into production
 with a derived system based on stock OFBiz where the ext data basically
 replaces the demo data
 load-exttest  Load seed, seed-initial, ext and ext-test
 data; meant for automated testing with a derived system based on stock OFBiz
 load-file Load data using the command line argument
 'data-file' to load data from a given file using the 'default' delegator or
 a delegator specified in the command line argument 'delegator'
 load-readers  Load data using the command line argument
 data-readers that takes a comma separated list of readers (seed,
 seed-initial, demo, ext, ext-test, ext-demo).[...]
 load-seed 

Re: Renaming some ant tasks to improve consistency

2012-03-30 Thread Deepak Dixit
+1

Thanks  Regards
-- 
Deepak Dixit


On Mar 30, 2012, at 12:32 PM, Jacopo Cappellato wrote:

 another nice thing we could do, merely esthetic, is to rename 
 ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
 Then the commands will be like:
 
 ofbiz load-demo
 ofbiz run-tests
 ofbiz start
 ofbiz stop
 
 etc...
 
 Jacopo
 
 On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:
 
 Ok,
 
 I have completed my work on this; however instead of running the new tasks 
 from the old task I have preferred to print a message to inform the user 
 about the new syntax; it seems to me that this is an easier transition 
 because at some point we will remove.
 I also renamed a couple more tasks and refactored one to replace 2 more; I 
 have also cleaned and improved the style of the descriptions.
 Since these changes ended up being more than what I initially proposed in 
 this thread, I will wait before committing my work to the trunk and I have 
 instead created a Jira ticket where I have described all the changes I did 
 and attached the patch:
 https://issues.apache.org/jira/browse/OFBIZ-4771
 
 Please review my work and let me know if you see issues in it; I would like 
 to commit it in a few days.
 
 Regards,
 
 Jacopo
 
 PS: for your reference, here is the new output of the ant -p command:
 
 
 build-website For committers : Update dtds from OFBiz 
 instance to site
 
 clean-all Clean all DB, Catalina and caches data, logs, 
 and runtime subdirectories and all specific files like .rej, .orig
 clean-cache   Clean the UtilCache file if errors found with 
 old objects in the cache (Java runtime error something like 'local class 
 incompatible')
 clean-catalinaClean Catalina data in runtime/catalina/work
 clean-dataClean all DB data (Derby) under runtime/data
 clean-downloads   Clean all downloaded files
 clean-logsClean all logs in runtime/logs
 clean-lucene-indexRemove lucene indexes created in 
 applications/content/index
 clean-output  Clean runtime/output directory
 clean-tempfiles   Remove files located in runtime/tempfiles 
 (captcha, etc...)
 clean-xtraClean all other files like .rej, .orig, etc.
 
 cobertura-report  Generate a HTML code coverage report with 
 cobertura, can be found in runtime/logs/cobertura-report
 cobertura-report-xml  Generate a XML file from the cobertura report, 
 this will be use by sonar
 copy-dtds For committers : Copy all dtds from OFBiz 
 instance to website
 
 create-admin-user-login   Prompt for a user name, then create a user 
 login with admin privileges and a temporary password equal to 'ofbiz'. After 
 a successful login the user will be prompted for a new password.
 create-component  Create the layout of an OFBiz component in the 
 hot-deploy folder.
 create-tenant Create a new tenant in your environment, 
 create the delegator, load initial data with admin-user and password (needs 
 multitenant=Y in general.properties)
 
 docs-all  For committers : Build all javadoc into one 
 tree for easier viewing by the community
 download-PG-JDBC  Download postgres jdbc driver
 download-selenium Download the selenium server v1.0.3 20.8 MB 
 download
 
 load-admin-user-login Create a user login with admin privileges and 
 a temporary password equal to 'ofbiz'; after a successful login the user 
 will be prompted for a new password.[...]
 load-all-tenants  Load data for all tenants, syntax eg: ant 
 load-all-tenants (needs multitenant=Y in general.properties)
 load-demo Load all data; meant for generic OFBiz 
 development, testing, demonstration, etc purposes
 load-demo-multitenant Load all data needed for the multi-tenancy 
 demonstration. Caution: this creates three databases, with each one loaded 
 with all demo data.
 load-extseed  Load seed, seed-initial and ext data; meant 
 for manual/generic testing, development, or going into production with a 
 derived system based on stock OFBiz where the ext data basically replaces 
 the demo data
 load-exttest  Load seed, seed-initial, ext and ext-test 
 data; meant for automated testing with a derived system based on stock OFBiz
 load-file Load data using the command line argument 
 'data-file' to load data from a given file using the 'default' delegator or 
 a delegator specified in the command line argument 'delegator'
 load-readers  Load data using the command line argument 
 data-readers that takes a comma separated list of readers (seed, 
 seed-initial, demo, ext, ext-test, ext-demo).[...]
 load-seed Load ONLY the seed data (not 

Re: Renaming some ant tasks to improve consistency

2012-03-30 Thread Erwan de FERRIERES
+1

2012/3/30 Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com:
 another nice thing we could do, merely esthetic, is to rename 
 ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
 Then the commands will be like:

 ofbiz load-demo
 ofbiz run-tests
 ofbiz start
 ofbiz stop

 etc...

 Jacopo

 On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:

 Ok,

 I have completed my work on this; however instead of running the new tasks 
 from the old task I have preferred to print a message to inform the user 
 about the new syntax; it seems to me that this is an easier transition 
 because at some point we will remove.
 I also renamed a couple more tasks and refactored one to replace 2 more; I 
 have also cleaned and improved the style of the descriptions.
 Since these changes ended up being more than what I initially proposed in 
 this thread, I will wait before committing my work to the trunk and I have 
 instead created a Jira ticket where I have described all the changes I did 
 and attached the patch:
 https://issues.apache.org/jira/browse/OFBIZ-4771

 Please review my work and let me know if you see issues in it; I would like 
 to commit it in a few days.

 Regards,

 Jacopo

 PS: for your reference, here is the new output of the ant -p command:

 
 build-website                 For committers : Update dtds from OFBiz 
 instance to site

 clean-all                     Clean all DB, Catalina and caches data, logs, 
 and runtime subdirectories and all specific files like .rej, .orig
 clean-cache                   Clean the UtilCache file if errors found with 
 old objects in the cache (Java runtime error something like 'local class 
 incompatible')
 clean-catalina                Clean Catalina data in runtime/catalina/work
 clean-data                    Clean all DB data (Derby) under runtime/data
 clean-downloads               Clean all downloaded files
 clean-logs                    Clean all logs in runtime/logs
 clean-lucene-index            Remove lucene indexes created in 
 applications/content/index
 clean-output                  Clean runtime/output directory
 clean-tempfiles               Remove files located in runtime/tempfiles 
 (captcha, etc...)
 clean-xtra                    Clean all other files like .rej, .orig, etc.

 cobertura-report              Generate a HTML code coverage report with 
 cobertura, can be found in runtime/logs/cobertura-report
 cobertura-report-xml          Generate a XML file from the cobertura report, 
 this will be use by sonar
 copy-dtds                     For committers : Copy all dtds from OFBiz 
 instance to website

 create-admin-user-login       Prompt for a user name, then create a user 
 login with admin privileges and a temporary password equal to 'ofbiz'. After 
 a successful login the user will be prompted for a new password.
 create-component              Create the layout of an OFBiz component in the 
 hot-deploy folder.
 create-tenant                 Create a new tenant in your environment, 
 create the delegator, load initial data with admin-user and password (needs 
 multitenant=Y in general.properties)

 docs-all                      For committers : Build all javadoc into one 
 tree for easier viewing by the community
 download-PG-JDBC              Download postgres jdbc driver
 download-selenium             Download the selenium server v1.0.3 20.8 MB 
 download

 load-admin-user-login         Create a user login with admin privileges and 
 a temporary password equal to 'ofbiz'; after a successful login the user 
 will be prompted for a new password.[...]
 load-all-tenants              Load data for all tenants, syntax eg: ant 
 load-all-tenants (needs multitenant=Y in general.properties)
 load-demo                     Load all data; meant for generic OFBiz 
 development, testing, demonstration, etc purposes
 load-demo-multitenant         Load all data needed for the multi-tenancy 
 demonstration. Caution: this creates three databases, with each one loaded 
 with all demo data.
 load-extseed                  Load seed, seed-initial and ext data; meant 
 for manual/generic testing, development, or going into production with a 
 derived system based on stock OFBiz where the ext data basically replaces 
 the demo data
 load-exttest                  Load seed, seed-initial, ext and ext-test 
 data; meant for automated testing with a derived system based on stock OFBiz
 load-file                     Load data using the command line argument 
 'data-file' to load data from a given file using the 'default' delegator or 
 a delegator specified in the command line argument 'delegator'
 load-readers                  Load data using the command line argument 
 data-readers that takes a comma separated list of readers (seed, 
 seed-initial, demo, ext, ext-test, ext-demo).[...]
 load-seed                     Load ONLY the seed data (not seed-initial, 
 demo, ext* or anything else); meant for 

Re: Renaming some ant tasks to improve consistency

2012-03-30 Thread Jacques Le Roux
+1 


Jacques

From: Pierre Smits pierre.sm...@gmail.com

+1

Op 30 maart 2012 09:02 schreef Jacopo Cappellato 
jacopo.cappell...@hotwaxmedia.com het volgende:


another nice thing we could do, merely esthetic, is to rename
ant.sh/ant.bat to ofbiz.sh/ofbiz.bat.
Then the commands will be like:

ofbiz load-demo
ofbiz run-tests
ofbiz start
ofbiz stop

etc...

Jacopo

On Mar 29, 2012, at 5:34 PM, Jacopo Cappellato wrote:

 Ok,

 I have completed my work on this; however instead of running the new
tasks from the old task I have preferred to print a message to inform the
user about the new syntax; it seems to me that this is an easier transition
because at some point we will remove.
 I also renamed a couple more tasks and refactored one to replace 2 more;
I have also cleaned and improved the style of the descriptions.
 Since these changes ended up being more than what I initially proposed
in this thread, I will wait before committing my work to the trunk and I
have instead created a Jira ticket where I have described all the changes I
did and attached the patch:
 https://issues.apache.org/jira/browse/OFBIZ-4771

 Please review my work and let me know if you see issues in it; I would
like to commit it in a few days.

 Regards,

 Jacopo

 PS: for your reference, here is the new output of the ant -p command:



 build-website For committers : Update dtds from OFBiz
instance to site

 clean-all Clean all DB, Catalina and caches data,
logs, and runtime subdirectories and all specific files like .rej, .orig
 clean-cache   Clean the UtilCache file if errors found
with old objects in the cache (Java runtime error something like 'local
class incompatible')
 clean-catalinaClean Catalina data in
runtime/catalina/work
 clean-dataClean all DB data (Derby) under
runtime/data
 clean-downloads   Clean all downloaded files
 clean-logsClean all logs in runtime/logs
 clean-lucene-indexRemove lucene indexes created in
applications/content/index
 clean-output  Clean runtime/output directory
 clean-tempfiles   Remove files located in runtime/tempfiles
(captcha, etc...)
 clean-xtraClean all other files like .rej, .orig,
etc.

 cobertura-report  Generate a HTML code coverage report with
cobertura, can be found in runtime/logs/cobertura-report
 cobertura-report-xml  Generate a XML file from the cobertura
report, this will be use by sonar
 copy-dtds For committers : Copy all dtds from OFBiz
instance to website

 create-admin-user-login   Prompt for a user name, then create a user
login with admin privileges and a temporary password equal to 'ofbiz'.
After a successful login the user will be prompted for a new password.
 create-component  Create the layout of an OFBiz component in
the hot-deploy folder.
 create-tenant Create a new tenant in your environment,
create the delegator, load initial data with admin-user and password (needs
multitenant=Y in general.properties)

 docs-all  For committers : Build all javadoc into
one tree for easier viewing by the community
 download-PG-JDBC  Download postgres jdbc driver
 download-selenium Download the selenium server v1.0.3 20.8
MB download

 load-admin-user-login Create a user login with admin privileges
and a temporary password equal to 'ofbiz'; after a successful login the
user will be prompted for a new password.[...]
 load-all-tenants  Load data for all tenants, syntax eg: ant
load-all-tenants (needs multitenant=Y in general.properties)
 load-demo Load all data; meant for generic OFBiz
development, testing, demonstration, etc purposes
 load-demo-multitenant Load all data needed for the multi-tenancy
demonstration. Caution: this creates three databases, with each one loaded
with all demo data.
 load-extseed  Load seed, seed-initial and ext data;
meant for manual/generic testing, development, or going into production
with a derived system based on stock OFBiz where the ext data basically
replaces the demo data
 load-exttest  Load seed, seed-initial, ext and ext-test
data; meant for automated testing with a derived system based on stock OFBiz
 load-file Load data using the command line argument
'data-file' to load data from a given file using the 'default' delegator or
a delegator specified in the command line argument 'delegator'
 load-readers  Load data using the command line argument
data-readers that takes a comma separated list of readers (seed,
seed-initial, demo, ext, ext-test, ext-demo).[...]
 load-seed Load ONLY the seed data (not seed-initial,
demo, ext* or anything else); 

Re: Renaming some ant tasks to improve consistency

2012-03-29 Thread Jacopo Cappellato
Ok,

I have completed my work on this; however instead of running the new tasks from 
the old task I have preferred to print a message to inform the user about the 
new syntax; it seems to me that this is an easier transition because at some 
point we will remove.
I also renamed a couple more tasks and refactored one to replace 2 more; I have 
also cleaned and improved the style of the descriptions.
Since these changes ended up being more than what I initially proposed in this 
thread, I will wait before committing my work to the trunk and I have instead 
created a Jira ticket where I have described all the changes I did and attached 
the patch:
https://issues.apache.org/jira/browse/OFBIZ-4771

Please review my work and let me know if you see issues in it; I would like to 
commit it in a few days.

Regards,

Jacopo

PS: for your reference, here is the new output of the ant -p command:


 build-website For committers : Update dtds from OFBiz instance 
to site

 clean-all Clean all DB, Catalina and caches data, logs, 
and runtime subdirectories and all specific files like .rej, .orig
 clean-cache   Clean the UtilCache file if errors found with 
old objects in the cache (Java runtime error something like 'local class 
incompatible')
 clean-catalinaClean Catalina data in runtime/catalina/work
 clean-dataClean all DB data (Derby) under runtime/data
 clean-downloads   Clean all downloaded files
 clean-logsClean all logs in runtime/logs
 clean-lucene-indexRemove lucene indexes created in 
applications/content/index
 clean-output  Clean runtime/output directory
 clean-tempfiles   Remove files located in runtime/tempfiles 
(captcha, etc...)
 clean-xtraClean all other files like .rej, .orig, etc.

 cobertura-report  Generate a HTML code coverage report with 
cobertura, can be found in runtime/logs/cobertura-report
 cobertura-report-xml  Generate a XML file from the cobertura report, 
this will be use by sonar
 copy-dtds For committers : Copy all dtds from OFBiz 
instance to website

 create-admin-user-login   Prompt for a user name, then create a user login 
with admin privileges and a temporary password equal to 'ofbiz'. After a 
successful login the user will be prompted for a new password.
 create-component  Create the layout of an OFBiz component in the 
hot-deploy folder.
 create-tenant Create a new tenant in your environment, create 
the delegator, load initial data with admin-user and password (needs 
multitenant=Y in general.properties)

 docs-all  For committers : Build all javadoc into one tree 
for easier viewing by the community
 download-PG-JDBC  Download postgres jdbc driver
 download-selenium Download the selenium server v1.0.3 20.8 MB 
download

 load-admin-user-login Create a user login with admin privileges and a 
temporary password equal to 'ofbiz'; after a successful login the user will be 
prompted for a new password.[...]
 load-all-tenants  Load data for all tenants, syntax eg: ant 
load-all-tenants (needs multitenant=Y in general.properties)
 load-demo Load all data; meant for generic OFBiz 
development, testing, demonstration, etc purposes
 load-demo-multitenant Load all data needed for the multi-tenancy 
demonstration. Caution: this creates three databases, with each one loaded with 
all demo data.
 load-extseed  Load seed, seed-initial and ext data; meant for 
manual/generic testing, development, or going into production with a derived 
system based on stock OFBiz where the ext data basically replaces the demo data
 load-exttest  Load seed, seed-initial, ext and ext-test data; 
meant for automated testing with a derived system based on stock OFBiz
 load-file Load data using the command line argument 
'data-file' to load data from a given file using the 'default' delegator or a 
delegator specified in the command line argument 'delegator'
 load-readers  Load data using the command line argument 
data-readers that takes a comma separated list of readers (seed, seed-initial, 
demo, ext, ext-test, ext-demo).[...]
 load-seed Load ONLY the seed data (not seed-initial, demo, 
ext* or anything else); meant for use after an update of the code to reload the 
seed data as it is generally maintained along with the code and needs to be in 
sync for operation
 load-tenant   Load data using tenantId, syntax eg: ant 
load-tenant -DtenantId=DEMO1 (needs multitenant=Y in general.properties)
 load-tenant-admin-user-login  Create the admin login for the tenant with admin 
privileges, and 

Re: Renaming some ant tasks to improve consistency

2012-03-28 Thread Olivier Heintz

+1

Le 26/03/2012 15:57, Jacopo Cappellato a écrit :

Hi all,

I have reviewed the names of our ant tasks and I would like to propose to 
rename [*] some of them to make them more consistent with what they actually do.
In short, I would like to:
* rename some run tasks with the word start because they actually start 
OFBiz
* rename run-install* tasks with the word load because they actually load 
data
** rename the task that loads demo data from run-install to a more explicit 
load-demo

Here is the complete list of proposed changes:

  run --  start
  run-debug --  start-debug
  run-pos --  start-pos
  run-install --  load-demo
  run-install-* targets --  load-* (for example: run-install-seed --  
load-seed etc...)

What do you think?

Jacopo

[*] if we are worried about backward compatibility (even if this is not 
actually a *compatibility* issue) we could keep the old ones (to call the new ones); I 
personally don't think it is necessary and we could clean them to have a cleaner 
build.xml file for future evolution but I would not be against keeping the old ones 
as well if there is enough consensus.






Re: Renaming some ant tasks to improve consistency

2012-03-28 Thread Christian Geisert
Jacopo Cappellato schrieb:
 Hi all,
 
 I have reviewed the names of our ant tasks and I would like to propose to 
 rename [*] some of them to make them more consistent with what they actually 
 do.
 In short, I would like to:
[..]
 What do you think?

I like the new names better but I'm undecided if it's worth the trouble,
so I'm +0

But in any case I think it's a good idea to keep them deprecated for a
while because there are quite a few website and even books out there
with these targets.

Christian


Re: Renaming some ant tasks to improve consistency

2012-03-28 Thread Nicolas Malin

Same opinion :)

Le 28/03/2012 10:54, Christian Geisert a écrit :

Jacopo Cappellato schrieb:

Hi all,

I have reviewed the names of our ant tasks and I would like to propose to 
rename [*] some of them to make them more consistent with what they actually do.
In short, I would like to:

[..]

What do you think?

I like the new names better but I'm undecided if it's worth the trouble,
so I'm +0

But in any case I think it's a good idea to keep them deprecated for a
while because there are quite a few website and even books out there
with these targets.

Christian



--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
---
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/



Re: Renaming some ant tasks to improve consistency

2012-03-28 Thread Pierre Smits
Hi Christian,

Books are most of the times written with a specific version in mind. And
products evolve. As with regards to the websites, these are easier amended
than books.

Regards,

Pierre

Op 28 maart 2012 10:54 schreef Christian Geisert 
christian.geis...@isu-gmbh.de het volgende:

 Jacopo Cappellato schrieb:
  Hi all,
 
  I have reviewed the names of our ant tasks and I would like to propose
 to rename [*] some of them to make them more consistent with what they
 actually do.
  In short, I would like to:
 [..]
  What do you think?

 I like the new names better but I'm undecided if it's worth the trouble,
 so I'm +0

 But in any case I think it's a good idea to keep them deprecated for a
 while because there are quite a few website and even books out there
 with these targets.

 Christian



Re: Renaming some ant tasks to improve consistency

2012-03-28 Thread Jacopo Cappellato
I am not against deprecating the targets (instead of removing them), and this 
is actually what we will probably end up doing.
By the way I agree with Pierre here on the general idea that the OFBiz trunk 
should be free to evolve without the burden of external sites and backward 
compatibility.
We already guarantee backward compatibility at the major release level: users 
using 10.04 will be sure that they can migrate from 10.04.X to 10.04.Y without 
issues.
Our main focus, when we work on the trunk should be that of improving the 
quality of the trunk; please also consider that a change in the trunk, with the 
current release schedule doesn't go into a release before about 12 to 24 
months... plenty of time for websites to take updates and for publishers to 
issue a reprint :-)

Jacopo


On Mar 28, 2012, at 10:57 AM, Pierre Smits wrote:

 Hi Christian,
 
 Books are most of the times written with a specific version in mind. And
 products evolve. As with regards to the websites, these are easier amended
 than books.
 
 Regards,
 
 Pierre
 
 Op 28 maart 2012 10:54 schreef Christian Geisert 
 christian.geis...@isu-gmbh.de het volgende:
 
 Jacopo Cappellato schrieb:
 Hi all,
 
 I have reviewed the names of our ant tasks and I would like to propose
 to rename [*] some of them to make them more consistent with what they
 actually do.
 In short, I would like to:
 [..]
 What do you think?
 
 I like the new names better but I'm undecided if it's worth the trouble,
 so I'm +0
 
 But in any case I think it's a good idea to keep them deprecated for a
 while because there are quite a few website and even books out there
 with these targets.
 
 Christian
 



Re: Renaming some ant tasks to improve consistency

2012-03-28 Thread dhiraj.g
Hi,
I think it good Naming Convention.
+1


Thanks 
Dhiraj Gupta



-
dhirajgupta
--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Renaming-some-ant-tasks-to-improve-consistency-tp4505891p4511754.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.


Re: Renaming some ant tasks to improve consistency

2012-03-28 Thread Ankit Jain
+1, now the name makes sense.

Regards,
Ankit Jain




On Mon, Mar 26, 2012 at 7:27 PM, Jacopo Cappellato 
jacopo.cappell...@hotwaxmedia.com wrote:

 Hi all,

 I have reviewed the names of our ant tasks and I would like to propose to
 rename [*] some of them to make them more consistent with what they
 actually do.
 In short, I would like to:
 * rename some run tasks with the word start because they actually
 start OFBiz
 * rename run-install* tasks with the word load because they actually
 load data
 ** rename the task that loads demo data from run-install to a more
 explicit load-demo

 Here is the complete list of proposed changes:

  run -- start
  run-debug -- start-debug
  run-pos -- start-pos
  run-install -- load-demo
  run-install-* targets -- load-* (for example: run-install-seed --
 load-seed etc...)

 What do you think?

 Jacopo

 [*] if we are worried about backward compatibility (even if this is not
 actually a *compatibility* issue) we could keep the old ones (to call the
 new ones); I personally don't think it is necessary and we could clean them
 to have a cleaner build.xml file for future evolution but I would not
 be against keeping the old ones as well if there is enough consensus.




Re: Renaming some ant tasks to improve consistency

2012-03-26 Thread Vikas Mayur
+1 

These new ones really make sense. IMO we don't need to keep the old ones.

Regards
Vikas

On Mar 26, 2012, at 7:27 PM, Jacopo Cappellato wrote:

 Hi all,
 
 I have reviewed the names of our ant tasks and I would like to propose to 
 rename [*] some of them to make them more consistent with what they actually 
 do.
 In short, I would like to:
 * rename some run tasks with the word start because they actually start 
 OFBiz
 * rename run-install* tasks with the word load because they actually load 
 data
 ** rename the task that loads demo data from run-install to a more explicit 
 load-demo
 
 Here is the complete list of proposed changes:
 
 run -- start
 run-debug -- start-debug
 run-pos -- start-pos
 run-install -- load-demo
 run-install-* targets -- load-* (for example: run-install-seed -- load-seed 
 etc...)
 
 What do you think?
 
 Jacopo
 
 [*] if we are worried about backward compatibility (even if this is not 
 actually a *compatibility* issue) we could keep the old ones (to call the new 
 ones); I personally don't think it is necessary and we could clean them to 
 have a cleaner build.xml file for future evolution but I would not be 
 against keeping the old ones as well if there is enough consensus.
 



Re: Renaming some ant tasks to improve consistency

2012-03-26 Thread Jacques Le Roux

+0

Jacques

From: Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com

Hi all,

I have reviewed the names of our ant tasks and I would like to propose to rename [*] some of them to make them more consistent 
with what they actually do.

In short, I would like to:
* rename some run tasks with the word start because they actually start 
OFBiz
* rename run-install* tasks with the word load because they actually load 
data
** rename the task that loads demo data from run-install to a more explicit 
load-demo

Here is the complete list of proposed changes:

run -- start
run-debug -- start-debug
run-pos -- start-pos
run-install -- load-demo
run-install-* targets -- load-* (for example: run-install-seed -- load-seed 
etc...)

What do you think?

Jacopo

[*] if we are worried about backward compatibility (even if this is not actually a *compatibility* issue) we could keep the old 
ones (to call the new ones); I personally don't think it is necessary and we could clean them to have a cleaner build.xml file for 
future evolution but I would not be against keeping the old ones as well if there is enough consensus.





Re: Renaming some ant tasks to improve consistency

2012-03-26 Thread Sam Hamilton
+1 

run-install-extseed always seemed to me to be the worst named task - a bit 
confusing as to what it is meant to do but such a vital one for keeping the db 
updated

Sam


On 26 Mar 2012, at 21:57, Jacopo Cappellato wrote:

 Hi all,
 
 I have reviewed the names of our ant tasks and I would like to propose to 
 rename [*] some of them to make them more consistent with what they actually 
 do.
 In short, I would like to:
 * rename some run tasks with the word start because they actually start 
 OFBiz
 * rename run-install* tasks with the word load because they actually load 
 data
 ** rename the task that loads demo data from run-install to a more explicit 
 load-demo
 
 Here is the complete list of proposed changes:
 
 run -- start
 run-debug -- start-debug
 run-pos -- start-pos
 run-install -- load-demo
 run-install-* targets -- load-* (for example: run-install-seed -- load-seed 
 etc...)
 
 What do you think?
 
 Jacopo
 
 [*] if we are worried about backward compatibility (even if this is not 
 actually a *compatibility* issue) we could keep the old ones (to call the new 
 ones); I personally don't think it is necessary and we could clean them to 
 have a cleaner build.xml file for future evolution but I would not be 
 against keeping the old ones as well if there is enough consensus.
 



smime.p7s
Description: S/MIME cryptographic signature


Re: Renaming some ant tasks to improve consistency

2012-03-26 Thread Ashish Vijaywargiya
+1 for the proposal.

--
Ashish

On Mon, Mar 26, 2012 at 7:27 PM, Jacopo Cappellato 
jacopo.cappell...@hotwaxmedia.com wrote:

 Hi all,

 I have reviewed the names of our ant tasks and I would like to propose to
 rename [*] some of them to make them more consistent with what they
 actually do.
 In short, I would like to:
 * rename some run tasks with the word start because they actually
 start OFBiz
 * rename run-install* tasks with the word load because they actually
 load data
 ** rename the task that loads demo data from run-install to a more
 explicit load-demo

 Here is the complete list of proposed changes:

  run -- start
  run-debug -- start-debug
  run-pos -- start-pos
  run-install -- load-demo
  run-install-* targets -- load-* (for example: run-install-seed --
 load-seed etc...)

 What do you think?

 Jacopo

 [*] if we are worried about backward compatibility (even if this is not
 actually a *compatibility* issue) we could keep the old ones (to call the
 new ones); I personally don't think it is necessary and we could clean them
 to have a cleaner build.xml file for future evolution but I would not
 be against keeping the old ones as well if there is enough consensus.




Re: Renaming some ant tasks to improve consistency

2012-03-26 Thread Bruno Busco
+1

2012/3/26 Ashish Vijaywargiya vijaywargiya.ash...@gmail.com

 +1 for the proposal.

 --
 Ashish

 On Mon, Mar 26, 2012 at 7:27 PM, Jacopo Cappellato 
 jacopo.cappell...@hotwaxmedia.com wrote:

  Hi all,
 
  I have reviewed the names of our ant tasks and I would like to propose to
  rename [*] some of them to make them more consistent with what they
  actually do.
  In short, I would like to:
  * rename some run tasks with the word start because they actually
  start OFBiz
  * rename run-install* tasks with the word load because they actually
  load data
  ** rename the task that loads demo data from run-install to a more
  explicit load-demo
 
  Here is the complete list of proposed changes:
 
   run -- start
   run-debug -- start-debug
   run-pos -- start-pos
   run-install -- load-demo
   run-install-* targets -- load-* (for example: run-install-seed --
  load-seed etc...)
 
  What do you think?
 
  Jacopo
 
  [*] if we are worried about backward compatibility (even if this is not
  actually a *compatibility* issue) we could keep the old ones (to call the
  new ones); I personally don't think it is necessary and we could clean
 them
  to have a cleaner build.xml file for future evolution but I would not
  be against keeping the old ones as well if there is enough consensus.
 
 



Re: Renaming some ant tasks to improve consistency

2012-03-26 Thread Pierre Smits
+1

Op 26 maart 2012 20:05 schreef Bruno Busco bruno.bu...@gmail.com het
volgende:

 +1

 2012/3/26 Ashish Vijaywargiya vijaywargiya.ash...@gmail.com

  +1 for the proposal.
 
  --
  Ashish
 
  On Mon, Mar 26, 2012 at 7:27 PM, Jacopo Cappellato 
  jacopo.cappell...@hotwaxmedia.com wrote:
 
   Hi all,
  
   I have reviewed the names of our ant tasks and I would like to propose
 to
   rename [*] some of them to make them more consistent with what they
   actually do.
   In short, I would like to:
   * rename some run tasks with the word start because they actually
   start OFBiz
   * rename run-install* tasks with the word load because they
 actually
   load data
   ** rename the task that loads demo data from run-install to a more
   explicit load-demo
  
   Here is the complete list of proposed changes:
  
run -- start
run-debug -- start-debug
run-pos -- start-pos
run-install -- load-demo
run-install-* targets -- load-* (for example: run-install-seed --
   load-seed etc...)
  
   What do you think?
  
   Jacopo
  
   [*] if we are worried about backward compatibility (even if this is
 not
   actually a *compatibility* issue) we could keep the old ones (to call
 the
   new ones); I personally don't think it is necessary and we could clean
  them
   to have a cleaner build.xml file for future evolution but I would
 not
   be against keeping the old ones as well if there is enough consensus.
  
  
 



Re: Renaming some ant tasks to improve consistency

2012-03-26 Thread Mansour Al Akeel
+0


On Mon, Mar 26, 2012 at 3:15 PM, Pierre Smits pierre.sm...@gmail.com wrote:
 +1

 Op 26 maart 2012 20:05 schreef Bruno Busco bruno.bu...@gmail.com het
 volgende:

 +1

 2012/3/26 Ashish Vijaywargiya vijaywargiya.ash...@gmail.com

  +1 for the proposal.
 
  --
  Ashish
 
  On Mon, Mar 26, 2012 at 7:27 PM, Jacopo Cappellato 
  jacopo.cappell...@hotwaxmedia.com wrote:
 
   Hi all,
  
   I have reviewed the names of our ant tasks and I would like to propose
 to
   rename [*] some of them to make them more consistent with what they
   actually do.
   In short, I would like to:
   * rename some run tasks with the word start because they actually
   start OFBiz
   * rename run-install* tasks with the word load because they
 actually
   load data
   ** rename the task that loads demo data from run-install to a more
   explicit load-demo
  
   Here is the complete list of proposed changes:
  
    run -- start
    run-debug -- start-debug
    run-pos -- start-pos
    run-install -- load-demo
    run-install-* targets -- load-* (for example: run-install-seed --
   load-seed etc...)
  
   What do you think?
  
   Jacopo
  
   [*] if we are worried about backward compatibility (even if this is
 not
   actually a *compatibility* issue) we could keep the old ones (to call
 the
   new ones); I personally don't think it is necessary and we could clean
  them
   to have a cleaner build.xml file for future evolution but I would
 not
   be against keeping the old ones as well if there is enough consensus.