[ 
https://jira.duraspace.org/browse/DS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20970#action_20970
 ] 

Tim Donohue commented on DS-797:
--------------------------------

Comments from Developer Mtg a few weeks ago

[20:01] <kompewter> [ https://jira.duraspace.org/browse/DS-797 ] - [#DS-797] 
ant help says install_code target exists, but it doesn't - DuraSpace JIRA
[20:02] * sandsfish (~sandsf...@dhcp-18-111-52-74.dyn.mit.edu) has joined 
#duraspace
[20:03] <tdonohue> Yep, ds-797 is a bug. Even on Trunk code, 'ant help' says 
there's such a thing as 'ant install_code' (when in fact, that target doesn't 
exist)
[20:03] <kompewter> [ https://jira.duraspace.org/browse/ds-797 ] - [#DS-797] 
ant help says install_code target exists, but it doesn't - DuraSpace JIRA
[20:03] <tdonohue> any thoughts on this? should we create 'ant install_code'? 
or fix the output of 'ant help'?
[20:04] <mdiggory> no, what would install code mean?
[20:04] <mdiggory> update installs code changes
[20:04] <sandsfish> deploy a code build without overwriting config?
[20:04] <mdiggory> I think this is old cruft leftover from the old build
[20:05] * mhwood (~mhwood@99.162.50.38) has joined #duraspace
[20:05] <tdonohue> I think, based on Ivan's request in Ds-797, he thought it 
should install Code without touching the DB again (not sure how much use that 
would get though)
[20:06] * KevinVdV (~kevin...@d54c15567.access.telenet.be) has joined #duraspace
[20:06] <tdonohue> So, is this a 'won't fix'? or Ask Ivan for more info?
[20:06] <mdiggory> tdonohue: any recommendation given your digging in this dirt 
with the installer?
[20:07] <mdiggory> I assume we want something like what sandsfish just pointed 
out
[20:07] <JRhoads> Has anyone requested an install without touching the DB?
[20:07] <tdonohue> yea, what sandsfish said would likely be useful.
[20:07] <mdiggory> albeit we generally overwrite everything with 'ant update 
-Doverwrite=true
[20:08] <mdiggory> vs not overwrite config directly with 'ant update 
-Doverwrite=false'
[20:08] <sandsfish> <echo message="install_code --> Install compiled code into 
${dspace.dir}" />
[20:08] <mdiggory> ant doesn't compile anymore...
[20:09] <mdiggory> just copies
[20:09] <mdiggory> thus "update"
[20:09] <tdonohue> right, it says it's *installing* (pre-compiled) code to 
$(dspace.dir)"
[20:09] <sandsfish> yup, installs/copies. that's how it's documented in 
build.xml atm
[20:10] <tdonohue> Ok, I suggest we do the following: DS-797, ask Ivan for more 
info on usage, see if there's a better replacement for install_code, possibly 
suggest 'ant update'

> ant help says install_code target exists, but it doesn't
> --------------------------------------------------------
>
>                 Key: DS-797
>                 URL: https://jira.duraspace.org/browse/DS-797
>             Project: DSpace
>          Issue Type: Bug
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 
> 1.8.0
>            Reporter: Ivan Masár
>            Priority: Trivial
>
> If you run
> [dspace-src]/dspace$ ant help
> it will write
>      [echo] install_code    --> Install compiled code into /dspace
> But if you run
> [dspace-src]/dspace$ ant install_code
> this won't work because there's no such target in build.xml. Last time the 
> target was present was in 1.4.
> There are two solutions:
> 1) remove the echo line
> 2) make an install_code target
> I would much prefer the second option. It should be the same as 
> fresh_install, but without the database dependencies:
> <target name="fresh_install" 
> depends="init_installation,init_configs,test_database,setup_database,load_registries"
>  description="Do a fresh install of the system, overwriting any data">
> <target name="install_code" depends="init_installation,init_configs" 
> description="Do a fresh install of the system, overwriting any data, but do 
> not touch database">

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

       

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of 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-d2d-c2
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to