Hi Eric,

I've assigned the ticket in JIRA to myself, as we are only able to assign them 
to committers, but have commented that you are working on it, not myself.

You'll find that the current CreateAdministrator.java class already interacts 
with the command line using the Apache Commons CLI library.  This is the 
standard tool we use (although normally we also like to see a '-h' parameter 
that displays some help on how to the use the tool.

To get a script to work, you'll also need to edit dspace/config/launcher.xml

See:

 - http://scm.dspace.org/svn/repo/dspace/trunk/dspace/config/launcher.xml

You can add your new class into this.  You'll then be able to run:

[dspace]/bin/dspace create-user

(or whatever you call your class)

Thanks,


Stuart


On 29/11/2011, at 2:20 PM, Eric Oliver wrote:

> Thanks, Stuart!
> 
> I made an account on JIRA, username 'olivere'.  I will start delving into the 
> codebase and looking to see where to do some coding and make some code 
> designs.  Are there any components that currently interact using the command 
> line, or will I be starting that from scratch?
> 
> Thank you so much for the starting resources -- I'm looking forward to this!
> 
> Sincerely,
> Eric
> 
> On Mon, Nov 28, 2011 at 5:55 PM, Stuart Lewis <[email protected]> wrote:
> Hi Eric,
> 
> > Your proposed project actually sounds a lot more interesting -- I would 
> > love to tackle it!  I read over some of the coding guidelines, and, just to 
> > make sure, should I be working with the trunk version? I got the latest 
> > version of NetBeans installed, checked out and built the trunk, but I have 
> > yet to navigate around the code base (it is really hard to try to navigate 
> > with no idea what exactly I'm doing).
> 
> Excellent!  I've created a JIRA ticket to manage this:
> 
>  - https://jira.duraspace.org/browse/DS-1083
> 
> If you create an account in JIRA, we can have it assigned to you.
> 
> If you google for 'netbeans dspace' there are a few good resources such as 
> some wiki pages and a youtube video.  Hopefully these will help you get up 
> and running.
> 
> The first place to look in the code would be the current CreateAdministrator 
> code:
> 
>  - dspace-api/src/main/java/org/dspace/administer/CreateAdministrator.java
> 
> Perhaps a good way to approach this would be to create a more generic 
> CreateUser.java class, and allow that to have an optional parameter to put 
> the new user in the admin group.  That means we could retire the current 
> CreateAdministrator class in favour of a single replacement.
> 
> If you want to add new features, having functionality to specify extra groups 
> to add would be useful too.
> 
> 
> > Should I cc this to the devel list or any other lists?  I know some people 
> > get a lot of messages, and I don't want to clutter anybody's inbox 
> > unnecessarily.  Thank you so much for your help in getting me started -- I 
> > hope I can be impactful in DSpace.
> 
> Yes - you can always email dspace-devel about development related activities 
> (I've cc'd this reply), or dspace-tech about general problems, for example if 
> you need help with installing the software.
> 
> Thanks,
> 
> 
> Stuart Lewis
> Digital Development Manager
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: +64 (0)9 373 7599 x81928
> 
> 

Stuart Lewis
Digital Development Manager
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to