I am fairly new to Dspace, but I think that the web.xml in
\dspace\target\dspace-1.5.1-build.dir\webapps\jspui\WEB-INF\ is suppose to
remain with the variable and that the variable is not expanded until the ant
update_webapps moves the web.xml to the C:\DSpace\webapps\jspui\WEB-INF
(assuming C:\DSpace is your install directory). But I could be wrong. Are
you trying to host \dspace\target\dspace-1.5.1-build.dir\webapps\jspui\
instead of C:\DSpace\webapps\jspui\ ?
The following is from update_webapps in the build.xml file:
<copy todir="${dspace.dir}/webapps" preservelastmodified="false"
failonerror="no">
<fileset dir="webapps">
<include name="**/web.xml" />
</fileset>
<filterchain>
<expandproperties />
</filterchain>
</copy>
If you wanted to use \dspace\target\dspace-1.5.1-build.dir\webapps\jspui\ to
host dspace you probably could write a custom ant script to expand the
properties in the web.xml located there. Hopefully this helps to answer your
question.
- Jason Gum
On Mon, Feb 9, 2009 at 3:08 AM, Andrew Marlow
<[email protected]>wrote:
> On Mon, Feb 9, 2009 at 6:27 AM, Rathipriya K <[email protected]>wrote:
>
>> Am also facing same issue described below.
>> Why is "dpsace.dir path" not getting uploaded properly in web.xml.
>> If it uploades also not the full path with "/". instead just only the
>> names.
>> Once I edit the path in web.xml , no issue.
>
>
> This is exactly the problem I have had. You are not alone!
>
>
>> What is the permanent fix for this , so that hardcoding the path can be
>> avoided?
>>
>> > I'm installing Dspace 1.5.1 with Eclipse, for developing purposes, but I
>> > have some doubts about dspace.cfg. In documentation and wiki it's said
>> > that dspace.cfg file should be edited in the installation folder, not in
>> > the source-code file system.
>
>
> --
> Regards,
>
> Andrew M.
> http://www.andrewpetermarlow.co.uk
>
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech