Mark,
The property
/workspace_dspace/dspace-1.5.2/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/i18n/messages_pt_BR.xml
is fine.
The property
/workspace_dspace/dspace-1.5.2/dspace-xmlui/dspace-xmlui-webapp/target/dspace-xmlui-webapp-1.5.2/i18n/messages_pt_BR.xml
is fine too.
But the property
/workspace_dspace/dspace-1.5.2/dspace/target/dspace-1.5.2-build.dir/webapps/xmlui/i18n/messages_pt_BR.xml
is wrong and I think this property is going to /dspace/webapps/xmlui/i18n .
I run mvn clean package, ant update.
On Fri, Jul 30, 2010 at 2:40 PM, Mark Diggory <[email protected]> wrote:
> Marcelo,
>
> Depends on where you made your changes to those files, it wouldn't
> override files you place into
> [dspace-src]/dspace/modules/xmlui/src/main/webapp/i18n/ but if you've
> changed those files under any directory called "target" or in the
> installation directory, yes they will get overwritten by the update
> process.
>
> Mark
>
> On Fri, Jul 30, 2010 at 8:41 AM, Marcelo Henrique Gomes
> <[email protected]> wrote:
> > Hello,
> >
> > I customized the DSpace. I created my theme and my messages_pt_BR i18n
> > properties.
> >
> > When I execute the mvn package at the DSpace. It downloaded many jars
> and
> > file messages_(ca, de, el, es, it, ja) override my messages_pt_BR.
> >
> > My code before mvn and ant update was:
> > <message
> > key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.page">página</message>
> > <message
> >
> key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.section">caderno</message>
> > <message
> > key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.date">data</message>
> > <message
> > key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.title">título</message>
> >
> >
> > My code after mvn and ant update is:
> > <message
> > key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.title">título</message>
> > <message
> >
> key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.section">caderno</message>
> > <message
> > key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.dateissued">Data de
> > envio</message>
> > <message
> > key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.dateaccessioned">Data
> de
> > submissão</message>
> > <message
> >
> key="xmlui.ArtifactBrowser.AbstractSearch.sort_by.relevance">relevância</message>
> > <message
> key="xmlui.ArtifactBrowser.AbstractSearch.sort_by">Classificar
> > Itens por</message>
> >
> > Why the Maven update the DSpace repository? Why override my messages?
> >
> > Thanks,
> > Marcelo
> >
> >
> ------------------------------------------------------------------------------
> > The Palm PDK Hot Apps Program offers developers who use the
> > Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> > of $1 Million in cash or HP Products. Visit us here for more details:
> > http://p.sf.net/sfu/dev2dev-palm
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
>
>
>
> --
> Mark R. Diggory
> Head of U.S. Operations - @mire
>
> http://www.atmire.com - Institutional Repository Solutions
> http://www.togather.eu - Before getting together, get t...@ther
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech