[ 
http://jira.dspace.org/jira/browse/DS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11082#action_11082
 ] 

Mark Diggory commented on DS-422:
---------------------------------

Actually, I had excluded it originally in the build xml of 1.5.0 because of the 
point your making that it was unnecessary.

Conversely, the InitializeDatabase class can access the sql files anywhere that 
are placed on the command-line.  Unfortunately, the "ant update", target 
doesn't do any database upgrading and knowing that you need to get one or more 
sql files an apply them requires expert knowledge.  At least having them in the 
[dspace.dir]/etc assures that running this class via dsrun will not break.

I'm unsure of the appropriate solution.  There's also the issue Bill brought up 
concerning running fresh install and using md5 Access Control that shows there 
is actually a much larger problem with initializing the database from ant 
rather than using ds_run... I believe this arose when Graham Triggs added 
variables to the dspace.cfg that are filtered during the maven build to insert 
the appropriate db drivers, url's, usernames and passwords, if the individual 
is not placing these into the dspace.cfg stored in 
[dspace-src]/dspace/config/dspace.cfg or configuring the 
property/filtering/replacement. Then incorrect values are then used by the 
build process.

This rather needs improvement.

> Directory 'etc'  missing from Ant target 'init_installation'.
> -------------------------------------------------------------
>
>                 Key: DS-422
>                 URL: http://jira.dspace.org/jira/browse/DS-422
>             Project: DSpace 1.x
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Robin Taylor
>            Assignee: Richard Rodgers
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Causes a subsequent trivial error in target 'fresh_installation' when it 
> tries to delete directory 'etc'.  To fix just add the directory to target 
> 'init_installation'.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to