• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #598 (closed task: fixed)

Opened 22 months ago

Last modified 18 months ago

Rework tasks for better administration

Reported by: jmoore Owned by: jmoore
Priority: minor Milestone: 3.0-Beta2
Component: Deployment Version: 3.0-Beta1
Keywords: ant, tasks, passwords, admin, iteration6 Cc: jason, callan

Description

Currently the java omero adduser etc. tasks have bugs (#488). It would be helpful if:

  • More was possible with the tasks
  • Tasks were runnable via java -jar
  • It was possible to pass passwords via stdin to tasks

Change History

Changed 22 months ago by jmoore

  • cc jason, callan added
  • status changed from new to closed
  • resolution set to fixed

r1279 closes.

  • Added admin/ChangePasswordTask
  • Added DebugTask (prints all properties)

Also, now possible to do:

  cd OMERO_HOME/components/client
  ant quick standalone
  cd target/standalone
  java -jar client-VERSION.jar task=DebugTask < local.properties

The last call to java -jar is enabled by Main-Class being set in the META-INF/MANIFEST file for all jars. This is configurable via etc/local.properties or <component>/build.xml.

Note: to run tasks, the server must also be running.

Changed 21 months ago by jmoore

r1280 adds more tasks.

Changed 21 months ago by jmoore

  • status changed from closed to reopened
  • resolution deleted

r1282 contains more:

  • Added admin.AdminTask abstract super class which handles authentication exceptions more cleanly
  • Added TaskFailure which is handled specially by Run
  • Fixed the command line tests which were failling because of changes to Configuration; now necessary to use etc/local.properties-like properties for Configuration -- user => omero.user etc.

Reopening because there's obviously more to do.

Changed 21 months ago by jmoore

r1283 propagates to tools/licenses

Changed 21 months ago by jmoore

r1285 includes improved error handling. Need more input checks in task.init()

Changed 20 months ago by jmoore

r1381 fixes the problem of tasks return non-null (error) but the build finishing successfully.

Changed 20 months ago by jmoore

r1383 adds to usage-ant.txt

Changed 18 months ago by jmoore

  • keywords admin, iteration6 added; admin removed

Other administration choices are available. We probably don't want to spend too much time on these functions. Closing.

Changed 18 months ago by jmoore

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/