[GeoNetwork-users] HELP NEEDED.. additional metadata elements in GN (how to describe them)..

Hi there,

I have been working with geonetwork for a couple of months. My institute
wants to implement a geocatalog service using GN but we have additional
metadata elements which are not yet defined in GN. for example we want to
include metadata which describes the pixel information of the image
(raster). I have been searching the wiki and forum, but seems like the
steps defined there are not that clear (i have been following the schema
extension steps described in GeoNetwork Developer Manual, Release
2.7.0-SNAPSHOT but not successful). It would be nice if you could give me
some clear hints or step by step advice on how to do this. Thank you very
much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

hi Tania,

could you be more specific how you were not successful using the schema
extension steps ? What did or did not work ?

Kind regards
Heikki Doeleman

On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy <tania.puspita@anonymised.com>wrote:

Hi there,

I have been working with geonetwork for a couple of months. My institute
wants to implement a geocatalog service using GN but we have additional
metadata elements which are not yet defined in GN. for example we want to
include metadata which describes the pixel information of the image
(raster). I have been searching the wiki and forum, but seems like the
steps defined there are not that clear (i have been following the schema
extension steps described in GeoNetwork Developer Manual, Release
2.7.0-SNAPSHOT but not successful). It would be nice if you could give me
some clear hints or step by step advice on how to do this. Thank you very
much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

------------------------------------------------------------------------------
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
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Heikki,

Thank you for your response. I tried to follow the schema extension steps
but there were steps which were not clear for me. for example written on
page 26 - Creating the extract XSLTs - its written we must create four
xslts, but there is only three examples (extract-date-modified.xsl,
extract-gml.xsl, and extract-uuid.xsl). Also there is an example of the
eml-gbif schema (p.31) and there was nothing written about eml-gbif schema
before, which got me lost. also the locations of the example files
(labels.xml) were not in the specified directory, etc.. and I tried to
continue..but I didnt succeed.

Maybe do you have a more comprehensive and clear documentation for
extending schemas in GN? it would be very nice if you could share it with
me.

Thank you very much in advance.

Regards,

Tania

On Fri, Dec 2, 2011 at 6:17 PM, heikki <tropicano@anonymised.com> wrote:

hi Tania,

could you be more specific how you were not successful using the schema
extension steps ? What did or did not work ?

Kind regards
Heikki Doeleman

On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy <tania.puspita@anonymised.com>wrote:

Hi there,

I have been working with geonetwork for a couple of months. My institute
wants to implement a geocatalog service using GN but we have additional
metadata elements which are not yet defined in GN. for example we want to
include metadata which describes the pixel information of the image
(raster). I have been searching the wiki and forum, but seems like the
steps defined there are not that clear (i have been following the schema
extension steps described in GeoNetwork Developer Manual, Release
2.7.0-SNAPSHOT but not successful). It would be nice if you could give me
some clear hints or step by step advice on how to do this. Thank you very
much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

------------------------------------------------------------------------------
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
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Tania,

The examples in the documentation are based on real schema plugins in the subversion repository and include references to a couple of different schemas so that you can get the idea of how to do the steps for profiles of ISO19115/19139 as well as non ISO schemas like eml-gbif. So if an example doesn't refer to the schema you were following you should still be able to find what you need by browsing the schema plugins directory at GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

That said, the docs are down on my list of things to review before the 2.8 RC process starts as there have been some changes related to the experimental ExtJS interface etc and so we can still work on clarity as well - I'll see if I can review them in the next couple of days. Also if others have comments and things they want to add to the doco then maybe now is a good time to do this.

Cheers,
Simon
________________________________________
From: Tania Firdausy [tania.puspita@anonymised.com]
Sent: Monday, 5 December 2011 7:58 PM
To: tropicano@anonymised.com
Cc: geonetwork-users@lists.sourceforge.net; GeoNetwork-devel@anonymised.comrge.net
Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional metadata elements in GN (how to describe them)..

Hi Heikki,

Thank you for your response. I tried to follow the schema extension steps but there were steps which were not clear for me. for example written on page 26 - Creating the extract XSLTs - its written we must create four xslts, but there is only three examples (extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl). Also there is an example of the eml-gbif schema (p.31) and there was nothing written about eml-gbif schema before, which got me lost. also the locations of the example files (labels.xml) were not in the specified directory, etc.. and I tried to continue..but I didnt succeed.

Maybe do you have a more comprehensive and clear documentation for extending schemas in GN? it would be very nice if you could share it with me.

Thank you very much in advance.

Regards,

Tania

On Fri, Dec 2, 2011 at 6:17 PM, heikki <tropicano@anonymised.com<mailto:tropicano@anonymised.com>> wrote:
hi Tania,

could you be more specific how you were not successful using the schema extension steps ? What did or did not work ?

Kind regards
Heikki Doeleman

On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy <tania.puspita@anonymised.com<mailto:tania.puspita@anonymised.com>> wrote:

Hi there,

I have been working with geonetwork for a couple of months. My institute wants to implement a geocatalog service using GN but we have additional metadata elements which are not yet defined in GN. for example we want to include metadata which describes the pixel information of the image (raster). I have been searching the wiki and forum, but seems like the steps defined there are not that clear (i have been following the schema extension steps described in GeoNetwork Developer Manual, Release 2.7.0-SNAPSHOT but not successful). It would be nice if you could give me some clear hints or step by step advice on how to do this. Thank you very much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

------------------------------------------------------------------------------
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.

_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net<mailto:GeoNetwork-devel@anonymised.comforge.net>

GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

hi Tania, Simon,

if your schema is named iso19139.yourprofilename, then it is assumed in the
code that it is an extension of iso19139, is what I think. This means that
many of the XSLTs just use the templates in the XSLTs in the iso19139
schema present directory, unless you override them. Simon please correct me
if I'm wrong here ..

for example written on page 26 - Creating the extract XSLTs - its written

we must create four xslts, but there is only three examples
(extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl).

You can just copy the same 4 xslts from the iso19139 schema and not modify
them unless that's needed for your profile.

Also there is an example of the eml-gbif schema (p.31) and there was

nothing written about eml-gbif schema before, which got me lost.

Yes, it may be a bit unclear that in the middle of explaining about the mcp
profile, the doc starts referring to other profiles as well. Probably to
illustrate some points that could not be illustrated with the mcp profile.
In any case, like Simon said, check out the schemaprofiles SVN directory,
for several examples including that one.

Some remarks about the documentation from my experience:

(1) if you just create the profile in the /schemas directory with the
intention of having it automatically loaded on startup, you need to include
it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is
documented and took me awhile to discover.

(2) what's not clear to me is what forms of detection you can put in
schema-ident.xml -- don't think all the mechanism is documented, there are
just some examples in the schemaprofiles SVN. For example can I detect a
schema by the simple presence of a particular namespace declaration in the
root element ? And what if several schemas match, how is it decided which
one wins ?

(3) the doc describes first one method of doing it, and then shows another
way of doing it. This is a bit disconcerting if you follow the doc as a
step-by-step guide. Maybe it's better to introduce in the beginning the two
methods with links to them; or just describe only one of them, certainly if
one method is preferred over the other.

If I think of anything else, I'll add to this thread.

Thanks and kind regards,
Heikki Doeleman

On Mon, Dec 5, 2011 at 2:06 PM, <Simon.Pigot@anonymised.com> wrote:

Hi Tania,

The examples in the documentation are based on real schema plugins in the
subversion repository and include references to a couple of different
schemas so that you can get the idea of how to do the steps for profiles of
ISO19115/19139 as well as non ISO schemas like eml-gbif. So if an example
doesn't refer to the schema you were following you should still be able to
find what you need by browsing the schema plugins directory at
http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk

That said, the docs are down on my list of things to review before the 2.8
RC process starts as there have been some changes related to the
experimental ExtJS interface etc and so we can still work on clarity as
well - I'll see if I can review them in the next couple of days. Also if
others have comments and things they want to add to the doco then maybe now
is a good time to do this.

Cheers,
Simon
________________________________________
From: Tania Firdausy [tania.puspita@anonymised.com]
Sent: Monday, 5 December 2011 7:58 PM
To: tropicano@anonymised.com
Cc: geonetwork-users@lists.sourceforge.net;
GeoNetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional metadata elements
in GN (how to describe them)..

Hi Heikki,

Thank you for your response. I tried to follow the schema extension steps
but there were steps which were not clear for me. for example written on
page 26 - Creating the extract XSLTs - its written we must create four
xslts, but there is only three examples (extract-date-modified.xsl,
extract-gml.xsl, and extract-uuid.xsl). Also there is an example of the
eml-gbif schema (p.31) and there was nothing written about eml-gbif schema
before, which got me lost. also the locations of the example files
(labels.xml) were not in the specified directory, etc.. and I tried to
continue..but I didnt succeed.

Maybe do you have a more comprehensive and clear documentation for
extending schemas in GN? it would be very nice if you could share it with
me.

Thank you very much in advance.

Regards,

Tania

On Fri, Dec 2, 2011 at 6:17 PM, heikki <tropicano@anonymised.com<mailto:
tropicano@anonymised.com>> wrote:
hi Tania,

could you be more specific how you were not successful using the schema
extension steps ? What did or did not work ?

Kind regards
Heikki Doeleman

On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy <tania.puspita@anonymised.com
<mailto:tania.puspita@anonymised.com>> wrote:

Hi there,

I have been working with geonetwork for a couple of months. My institute
wants to implement a geocatalog service using GN but we have additional
metadata elements which are not yet defined in GN. for example we want to
include metadata which describes the pixel information of the image
(raster). I have been searching the wiki and forum, but seems like the
steps defined there are not that clear (i have been following the schema
extension steps described in GeoNetwork Developer Manual, Release
2.7.0-SNAPSHOT but not successful). It would be nice if you could give me
some clear hints or step by step advice on how to do this. Thank you very
much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

------------------------------------------------------------------------------
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
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net<mailto:
GeoNetwork-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Simon and Heikki,

Thank you very much for your explanation and information. I will try to
follow and understand the document (especially chapter 4) once more with
the input from you. Actually it is a great reference document to get
information about how to extend a schema in GN (maybe the only one which
exists!) but only maybe there are some remarks which can make the readers
confused. I am currently using the latest GN which is 2.6.4 and sometimes I
cant find the files referenced in the document, for example the
schema-ident.xsd which is used to validate the created schema-ident.xml
(P.25), I cant seem to locate this file. does anyone else have the same
experience?

Actually my main goal is to add more metadata tags which are not yet
defined to an available schema profile (metadata template) in GN and
change it into a new metadata template. for example the Template for Raster
data in ISO19139, it doesnt have any fields to define Acquisition
Information (for example Sensor Name which defines which sensor took the
image, etc) that I would like to add. And there are many other additional
fields which I would like to add. I have created a customized xml and xsd
document and tried to upload the xml and xsd into GN as a new template, but
the additional metadata tags were not recognized by GN (I knew
it couldn't be this simple). and I tried to extend the schema according to
the GN developer manual, but I didnt succeed (I will try once more with the
input from Simon and Heikki). Hopefully it will work this time around.

Does anyone have other experiences in adding additional custom matadata
fields GN? I am quite stuck here..

Thank you very much in advance.

Regards,

Tania

On Tue, Dec 6, 2011 at 9:59 PM, heikki <tropicano@anonymised.com> wrote:

hi Tania, Simon,

if your schema is named iso19139.yourprofilename, then it is assumed in
the code that it is an extension of iso19139, is what I think. This means
that many of the XSLTs just use the templates in the XSLTs in the iso19139
schema present directory, unless you override them. Simon please correct me
if I'm wrong here ..

>for example written on page 26 - Creating the extract XSLTs - its written
we must create four xslts, but there is only three examples
(extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl).

You can just copy the same 4 xslts from the iso19139 schema and not modify
them unless that's needed for your profile.

>Also there is an example of the eml-gbif schema (p.31) and there was
nothing written about eml-gbif schema before, which got me lost.

Yes, it may be a bit unclear that in the middle of explaining about the
mcp profile, the doc starts referring to other profiles as well. Probably
to illustrate some points that could not be illustrated with the mcp
profile. In any case, like Simon said, check out the schemaprofiles SVN
directory, for several examples including that one.

Some remarks about the documentation from my experience:

(1) if you just create the profile in the /schemas directory with the
intention of having it automatically loaded on startup, you need to include
it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is
documented and took me awhile to discover.

(2) what's not clear to me is what forms of detection you can put in
schema-ident.xml -- don't think all the mechanism is documented, there are
just some examples in the schemaprofiles SVN. For example can I detect a
schema by the simple presence of a particular namespace declaration in the
root element ? And what if several schemas match, how is it decided which
one wins ?

(3) the doc describes first one method of doing it, and then shows another
way of doing it. This is a bit disconcerting if you follow the doc as a
step-by-step guide. Maybe it's better to introduce in the beginning the two
methods with links to them; or just describe only one of them, certainly if
one method is preferred over the other.

If I think of anything else, I'll add to this thread.

Thanks and kind regards,
Heikki Doeleman

On Mon, Dec 5, 2011 at 2:06 PM, <Simon.Pigot@anonymised.com> wrote:

Hi Tania,

The examples in the documentation are based on real schema plugins in the
subversion repository and include references to a couple of different
schemas so that you can get the idea of how to do the steps for profiles of
ISO19115/19139 as well as non ISO schemas like eml-gbif. So if an example
doesn't refer to the schema you were following you should still be able to
find what you need by browsing the schema plugins directory at
http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk

That said, the docs are down on my list of things to review before the
2.8 RC process starts as there have been some changes related to the
experimental ExtJS interface etc and so we can still work on clarity as
well - I'll see if I can review them in the next couple of days. Also if
others have comments and things they want to add to the doco then maybe now
is a good time to do this.

Cheers,
Simon
________________________________________
From: Tania Firdausy [tania.puspita@anonymised.com]
Sent: Monday, 5 December 2011 7:58 PM
To: tropicano@anonymised.com
Cc: geonetwork-users@lists.sourceforge.net;
GeoNetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional metadata
elements in GN (how to describe them)..

Hi Heikki,

Thank you for your response. I tried to follow the schema extension steps
but there were steps which were not clear for me. for example written on
page 26 - Creating the extract XSLTs - its written we must create four
xslts, but there is only three examples (extract-date-modified.xsl,
extract-gml.xsl, and extract-uuid.xsl). Also there is an example of the
eml-gbif schema (p.31) and there was nothing written about eml-gbif schema
before, which got me lost. also the locations of the example files
(labels.xml) were not in the specified directory, etc.. and I tried to
continue..but I didnt succeed.

Maybe do you have a more comprehensive and clear documentation for
extending schemas in GN? it would be very nice if you could share it with
me.

Thank you very much in advance.

Regards,

Tania

On Fri, Dec 2, 2011 at 6:17 PM, heikki <tropicano@anonymised.com<mailto:
tropicano@anonymised.com>> wrote:
hi Tania,

could you be more specific how you were not successful using the schema
extension steps ? What did or did not work ?

Kind regards
Heikki Doeleman

On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy <tania.puspita@anonymised.com
<mailto:tania.puspita@anonymised.com>> wrote:

Hi there,

I have been working with geonetwork for a couple of months. My institute
wants to implement a geocatalog service using GN but we have additional
metadata elements which are not yet defined in GN. for example we want to
include metadata which describes the pixel information of the image
(raster). I have been searching the wiki and forum, but seems like the
steps defined there are not that clear (i have been following the schema
extension steps described in GeoNetwork Developer Manual, Release
2.7.0-SNAPSHOT but not successful). It would be nice if you could give me
some clear hints or step by step advice on how to do this. Thank you very
much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

------------------------------------------------------------------------------
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
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net<mailto:
GeoNetwork-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Thanks Heikki - appreciate the detailed feedback - I'll include it in the review.

Cheers,
Simon
________________________________________
From: heikki [tropicano@anonymised.com]
Sent: Wednesday, 7 December 2011 7:59 AM
To: Pigot, Simon (CMAR, Hobart)
Cc: geonetwork-users@lists.sourceforge.net; GeoNetwork-devel@anonymised.comrge.net
Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP NEEDED.. additional metadata elements in GN (how to describe them)..

hi Tania, Simon,

if your schema is named iso19139.yourprofilename, then it is assumed in the
code that it is an extension of iso19139, is what I think. This means that
many of the XSLTs just use the templates in the XSLTs in the iso19139
schema present directory, unless you override them. Simon please correct me
if I'm wrong here ..

for example written on page 26 - Creating the extract XSLTs - its written

we must create four xslts, but there is only three examples
(extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl).

You can just copy the same 4 xslts from the iso19139 schema and not modify
them unless that's needed for your profile.

Also there is an example of the eml-gbif schema (p.31) and there was

nothing written about eml-gbif schema before, which got me lost.

Yes, it may be a bit unclear that in the middle of explaining about the mcp
profile, the doc starts referring to other profiles as well. Probably to
illustrate some points that could not be illustrated with the mcp profile.
In any case, like Simon said, check out the schemaprofiles SVN directory,
for several examples including that one.

Some remarks about the documentation from my experience:

(1) if you just create the profile in the /schemas directory with the
intention of having it automatically loaded on startup, you need to include
it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is
documented and took me awhile to discover.

(2) what's not clear to me is what forms of detection you can put in
schema-ident.xml -- don't think all the mechanism is documented, there are
just some examples in the schemaprofiles SVN. For example can I detect a
schema by the simple presence of a particular namespace declaration in the
root element ? And what if several schemas match, how is it decided which
one wins ?

(3) the doc describes first one method of doing it, and then shows another
way of doing it. This is a bit disconcerting if you follow the doc as a
step-by-step guide. Maybe it's better to introduce in the beginning the two
methods with links to them; or just describe only one of them, certainly if
one method is preferred over the other.

If I think of anything else, I'll add to this thread.

Thanks and kind regards,
Heikki Doeleman

On Mon, Dec 5, 2011 at 2:06 PM, <Simon.Pigot@anonymised.com> wrote:

Hi Tania,

The examples in the documentation are based on real schema plugins in the
subversion repository and include references to a couple of different
schemas so that you can get the idea of how to do the steps for profiles of
ISO19115/19139 as well as non ISO schemas like eml-gbif. So if an example
doesn't refer to the schema you were following you should still be able to
find what you need by browsing the schema plugins directory at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

That said, the docs are down on my list of things to review before the 2.8
RC process starts as there have been some changes related to the
experimental ExtJS interface etc and so we can still work on clarity as
well - I'll see if I can review them in the next couple of days. Also if
others have comments and things they want to add to the doco then maybe now
is a good time to do this.

Cheers,
Simon
________________________________________
From: Tania Firdausy [tania.puspita@anonymised.com]
Sent: Monday, 5 December 2011 7:58 PM
To: tropicano@anonymised.com
Cc: geonetwork-users@lists.sourceforge.net;
GeoNetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional metadata elements
in GN (how to describe them)..

Hi Heikki,

Thank you for your response. I tried to follow the schema extension steps
but there were steps which were not clear for me. for example written on
page 26 - Creating the extract XSLTs - its written we must create four
xslts, but there is only three examples (extract-date-modified.xsl,
extract-gml.xsl, and extract-uuid.xsl). Also there is an example of the
eml-gbif schema (p.31) and there was nothing written about eml-gbif schema
before, which got me lost. also the locations of the example files
(labels.xml) were not in the specified directory, etc.. and I tried to
continue..but I didnt succeed.

Maybe do you have a more comprehensive and clear documentation for
extending schemas in GN? it would be very nice if you could share it with
me.

Thank you very much in advance.

Regards,

Tania

On Fri, Dec 2, 2011 at 6:17 PM, heikki <tropicano@anonymised.com<mailto:
tropicano@anonymised.com>> wrote:
hi Tania,

could you be more specific how you were not successful using the schema
extension steps ? What did or did not work ?

Kind regards
Heikki Doeleman

On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy <tania.puspita@anonymised.com
<mailto:tania.puspita@anonymised.com>> wrote:

Hi there,

I have been working with geonetwork for a couple of months. My institute
wants to implement a geocatalog service using GN but we have additional
metadata elements which are not yet defined in GN. for example we want to
include metadata which describes the pixel information of the image
(raster). I have been searching the wiki and forum, but seems like the
steps defined there are not that clear (i have been following the schema
extension steps described in GeoNetwork Developer Manual, Release
2.7.0-SNAPSHOT but not successful). It would be nice if you could give me
some clear hints or step by step advice on how to do this. Thank you very
much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

------------------------------------------------------------------------------
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.
Best Open Source Mac Front-Ends 2024
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net<mailto:
GeoNetwork-devel@lists.sourceforge.net>
geonetwork-devel List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

Hi Heikki,

as you answered Tania, I don´t have clear, this part:

(1) if you just create the profile in the /schemas directory with the intention of having it automatically loaded on startup, you need to include it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is documented and took me awhile to discover.

The question is how can I get the schemaplugin-uri-catalog.xml?. It is not in the Web-INF neither in the schemapluging

Thank you for your explanation!

Sara

El 07/12/2011 12:03, Simon.Pigot@anonymised.com escribió:

Thanks Heikki - appreciate the detailed feedback - I'll include it in the review.

Cheers,
Simon
________________________________________
From: heikki [tropicano@anonymised.com]
Sent: Wednesday, 7 December 2011 7:59 AM
To: Pigot, Simon (CMAR, Hobart)
Cc: geonetwork-users@lists.sourceforge.net; GeoNetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP NEEDED.. additional metadata elements in GN (how to describe them)..

hi Tania, Simon,

if your schema is named iso19139.yourprofilename, then it is assumed in the
code that it is an extension of iso19139, is what I think. This means that
many of the XSLTs just use the templates in the XSLTs in the iso19139
schema present directory, unless you override them. Simon please correct me
if I'm wrong here ..

for example written on page 26 - Creating the extract XSLTs - its written
     

we must create four xslts, but there is only three examples
(extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl).

You can just copy the same 4 xslts from the iso19139 schema and not modify
them unless that's needed for your profile.

Also there is an example of the eml-gbif schema (p.31) and there was
     

nothing written about eml-gbif schema before, which got me lost.

Yes, it may be a bit unclear that in the middle of explaining about the mcp
profile, the doc starts referring to other profiles as well. Probably to
illustrate some points that could not be illustrated with the mcp profile.
In any case, like Simon said, check out the schemaprofiles SVN directory,
for several examples including that one.

Some remarks about the documentation from my experience:

(1) if you just create the profile in the /schemas directory with the
intention of having it automatically loaded on startup, you need to include
it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is
documented and took me awhile to discover.

(2) what's not clear to me is what forms of detection you can put in
schema-ident.xml -- don't think all the mechanism is documented, there are
just some examples in the schemaprofiles SVN. For example can I detect a
schema by the simple presence of a particular namespace declaration in the
root element ? And what if several schemas match, how is it decided which
one wins ?

(3) the doc describes first one method of doing it, and then shows another
way of doing it. This is a bit disconcerting if you follow the doc as a
step-by-step guide. Maybe it's better to introduce in the beginning the two
methods with links to them; or just describe only one of them, certainly if
one method is preferred over the other.

If I think of anything else, I'll add to this thread.

Thanks and kind regards,
Heikki Doeleman

On Mon, Dec 5, 2011 at 2:06 PM,<Simon.Pigot@anonymised.com> wrote:

Hi Tania,

The examples in the documentation are based on real schema plugins in the
subversion repository and include references to a couple of different
schemas so that you can get the idea of how to do the steps for profiles of
ISO19115/19139 as well as non ISO schemas like eml-gbif. So if an example
doesn't refer to the schema you were following you should still be able to
find what you need by browsing the schema plugins directory at
http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk

That said, the docs are down on my list of things to review before the 2.8
RC process starts as there have been some changes related to the
experimental ExtJS interface etc and so we can still work on clarity as
well - I'll see if I can review them in the next couple of days. Also if
others have comments and things they want to add to the doco then maybe now
is a good time to do this.

Cheers,
Simon
________________________________________
From: Tania Firdausy [tania.puspita@anonymised.com]
Sent: Monday, 5 December 2011 7:58 PM
To: tropicano@anonymised.com
Cc: geonetwork-users@lists.sourceforge.net;
GeoNetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional metadata elements
in GN (how to describe them)..

Hi Heikki,

Thank you for your response. I tried to follow the schema extension steps
but there were steps which were not clear for me. for example written on
page 26 - Creating the extract XSLTs - its written we must create four
xslts, but there is only three examples (extract-date-modified.xsl,
extract-gml.xsl, and extract-uuid.xsl). Also there is an example of the
eml-gbif schema (p.31) and there was nothing written about eml-gbif schema
before, which got me lost. also the locations of the example files
(labels.xml) were not in the specified directory, etc.. and I tried to
continue..but I didnt succeed.

Maybe do you have a more comprehensive and clear documentation for
extending schemas in GN? it would be very nice if you could share it with
me.

Thank you very much in advance.

Regards,

Tania

On Fri, Dec 2, 2011 at 6:17 PM, heikki<tropicano@anonymised.com<mailto:
tropicano@anonymised.com>> wrote:
hi Tania,

could you be more specific how you were not successful using the schema
extension steps ? What did or did not work ?

Kind regards
Heikki Doeleman

On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy<tania.puspita@anonymised.com
<mailto:tania.puspita@anonymised.com>> wrote:

Hi there,

I have been working with geonetwork for a couple of months. My institute
wants to implement a geocatalog service using GN but we have additional
metadata elements which are not yet defined in GN. for example we want to
include metadata which describes the pixel information of the image
(raster). I have been searching the wiki and forum, but seems like the
steps defined there are not that clear (i have been following the schema
extension steps described in GeoNetwork Developer Manual, Release
2.7.0-SNAPSHOT but not successful). It would be nice if you could give me
some clear hints or step by step advice on how to do this. Thank you very
much in advance.

With best regards,

Tania P Firdausy

GIS Software Engineer

------------------------------------------------------------------------------
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
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net<mailto:
GeoNetwork-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of
discussion for anyone considering optimizing the pricing and packaging model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
   

hi Sara,

it's in WEB-INF, but this whole plugin-profile mechanism is only available
in GeoNetwork trunk, so if you use a release version you can't use it.
Either download the trunk code and work with that, or wait for the 2.8
release, maybe in March 2012.

Kind regards
Heikki Doeleman

On Wed, Dec 7, 2011 at 12:46 PM, Sara Soto <sarasoto@anonymised.com> wrote:

Hi Heikki,

as you answered Tania, I don´t have clear, this part:

(1) if you just create the profile in the /schemas directory with the
intention of having it automatically loaded on startup, you need to
include it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this
is documented and took me awhile to discover.

The question is how can I get the schemaplugin-uri-catalog.xml?. It is
not in the Web-INF neither in the schemapluging

Thank you for your explanation!

Sara

El 07/12/2011 12:03, Simon.Pigot@anonymised.com escribió:
> Thanks Heikki - appreciate the detailed feedback - I'll include it in
the review.
>
> Cheers,
> Simon
> ________________________________________
> From: heikki [tropicano@anonymised.com]
> Sent: Wednesday, 7 December 2011 7:59 AM
> To: Pigot, Simon (CMAR, Hobart)
> Cc: geonetwork-users@lists.sourceforge.net;
GeoNetwork-devel@lists.sourceforge.net
> Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP NEEDED..
additional metadata elements in GN (how to describe them)..
>
> hi Tania, Simon,
>
> if your schema is named iso19139.yourprofilename, then it is assumed in
the
> code that it is an extension of iso19139, is what I think. This means
that
> many of the XSLTs just use the templates in the XSLTs in the iso19139
> schema present directory, unless you override them. Simon please correct
me
> if I'm wrong here ..
>
>
>> for example written on page 26 - Creating the extract XSLTs - its
written
>>
> we must create four xslts, but there is only three examples
> (extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl).
>
> You can just copy the same 4 xslts from the iso19139 schema and not
modify
> them unless that's needed for your profile.
>
>
>> Also there is an example of the eml-gbif schema (p.31) and there was
>>
> nothing written about eml-gbif schema before, which got me lost.
>
> Yes, it may be a bit unclear that in the middle of explaining about the
mcp
> profile, the doc starts referring to other profiles as well. Probably to
> illustrate some points that could not be illustrated with the mcp
profile.
> In any case, like Simon said, check out the schemaprofiles SVN directory,
> for several examples including that one.
>
> Some remarks about the documentation from my experience:
>
> (1) if you just create the profile in the /schemas directory with the
> intention of having it automatically loaded on startup, you need to
include
> it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is
> documented and took me awhile to discover.
>
> (2) what's not clear to me is what forms of detection you can put in
> schema-ident.xml -- don't think all the mechanism is documented, there
are
> just some examples in the schemaprofiles SVN. For example can I detect a
> schema by the simple presence of a particular namespace declaration in
the
> root element ? And what if several schemas match, how is it decided which
> one wins ?
>
> (3) the doc describes first one method of doing it, and then shows
another
> way of doing it. This is a bit disconcerting if you follow the doc as a
> step-by-step guide. Maybe it's better to introduce in the beginning the
two
> methods with links to them; or just describe only one of them, certainly
if
> one method is preferred over the other.
>
> If I think of anything else, I'll add to this thread.
>
> Thanks and kind regards,
> Heikki Doeleman
>
>
>
>
>
>
>
>
> On Mon, Dec 5, 2011 at 2:06 PM,<Simon.Pigot@anonymised.com> wrote:
>
>
>> Hi Tania,
>>
>> The examples in the documentation are based on real schema plugins in
the
>> subversion repository and include references to a couple of different
>> schemas so that you can get the idea of how to do the steps for
profiles of
>> ISO19115/19139 as well as non ISO schemas like eml-gbif. So if an
example
>> doesn't refer to the schema you were following you should still be able
to
>> find what you need by browsing the schema plugins directory at
>>
http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk
>>
>> That said, the docs are down on my list of things to review before the
2.8
>> RC process starts as there have been some changes related to the
>> experimental ExtJS interface etc and so we can still work on clarity as
>> well - I'll see if I can review them in the next couple of days. Also if
>> others have comments and things they want to add to the doco then maybe
now
>> is a good time to do this.
>>
>> Cheers,
>> Simon
>> ________________________________________
>> From: Tania Firdausy [tania.puspita@anonymised.com]
>> Sent: Monday, 5 December 2011 7:58 PM
>> To: tropicano@anonymised.com
>> Cc: geonetwork-users@lists.sourceforge.net;
>> GeoNetwork-devel@lists.sourceforge.net
>> Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional metadata
elements
>> in GN (how to describe them)..
>>
>> Hi Heikki,
>>
>> Thank you for your response. I tried to follow the schema extension
steps
>> but there were steps which were not clear for me. for example written on
>> page 26 - Creating the extract XSLTs - its written we must create four
>> xslts, but there is only three examples (extract-date-modified.xsl,
>> extract-gml.xsl, and extract-uuid.xsl). Also there is an example of the
>> eml-gbif schema (p.31) and there was nothing written about eml-gbif
schema
>> before, which got me lost. also the locations of the example files
>> (labels.xml) were not in the specified directory, etc.. and I tried to
>> continue..but I didnt succeed.
>>
>> Maybe do you have a more comprehensive and clear documentation for
>> extending schemas in GN? it would be very nice if you could share it
with
>> me.
>>
>> Thank you very much in advance.
>>
>> Regards,
>>
>> Tania
>>
>> On Fri, Dec 2, 2011 at 6:17 PM, heikki<tropicano@anonymised.com<mailto:
>> tropicano@anonymised.com>> wrote:
>> hi Tania,
>>
>> could you be more specific how you were not successful using the schema
>> extension steps ? What did or did not work ?
>>
>> Kind regards
>> Heikki Doeleman
>>
>> On Fri, Dec 2, 2011 at 6:05 PM, Tania Firdausy<tania.puspita@anonymised.com
>> <mailto:tania.puspita@anonymised.com>> wrote:
>>
>> Hi there,
>>
>> I have been working with geonetwork for a couple of months. My institute
>> wants to implement a geocatalog service using GN but we have additional
>> metadata elements which are not yet defined in GN. for example we want
to
>> include metadata which describes the pixel information of the image
>> (raster). I have been searching the wiki and forum, but seems like the
>> steps defined there are not that clear (i have been following the schema
>> extension steps described in GeoNetwork Developer Manual, Release
>> 2.7.0-SNAPSHOT but not successful). It would be nice if you could give
me
>> some clear hints or step by step advice on how to do this. Thank you
very
>> much in advance.
>>
>>
>>
>> With best regards,
>>
>>
>>
>> Tania P Firdausy
>>
>> GIS Software Engineer
>>
>>
>>
------------------------------------------------------------------------------
>> 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
>> _______________________________________________
>> GeoNetwork-devel mailing list
>> GeoNetwork-devel@lists.sourceforge.net<mailto:
>> GeoNetwork-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
>> GeoNetwork OpenSource is maintained at
>> http://sourceforge.net/projects/geonetwork
>>
>>
>>
>>
>
>
------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and
point of
> discussion for anyone considering optimizing the pricing and packaging
model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
>

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point
of
discussion for anyone considering optimizing the pricing and packaging
model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Thanks Heikki!!
An strange question... where can I download the trunk code?
Thanks again! I am a beginner in this stuff
kind regards

Sara

El 07/12/2011 12:51, heikki escribió:

hi Sara,

it's in WEB-INF, but this whole plugin-profile mechanism is only available in GeoNetwork trunk, so if you use a release version you can't use it. Either download the trunk code and work with that, or wait for the 2.8 release, maybe in March 2012.

Kind regards
Heikki Doeleman

On Wed, Dec 7, 2011 at 12:46 PM, Sara Soto <sarasoto@anonymised.com <mailto:sarasoto@anonymised.com>> wrote:

    Hi Heikki,

    as you answered Tania, I don´t have clear, this part:

    (1) if you just create the profile in the /schemas directory with the
    intention of having it automatically loaded on startup, you need to
    include it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't
    think this
    is documented and took me awhile to discover.

    The question is how can I get the schemaplugin-uri-catalog.xml?. It is
    not in the Web-INF neither in the schemapluging

    Thank you for your explanation!

    Sara

    El 07/12/2011 12:03, Simon.Pigot@anonymised.com escribió:
    > Thanks Heikki - appreciate the detailed feedback - I'll include
    it in the review.
    >
    > Cheers,
    > Simon
    > ________________________________________
    > From: heikki [tropicano@anonymised.com <mailto:tropicano@anonymised.com>]
    > Sent: Wednesday, 7 December 2011 7:59 AM
    > To: Pigot, Simon (CMAR, Hobart)
    > Cc: geonetwork-users@lists.sourceforge.net
    <mailto:geonetwork-users@lists.sourceforge.net>;
    GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>
    > Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP NEEDED..
    additional metadata elements in GN (how to describe them)..
    >
    > hi Tania, Simon,
    >
    > if your schema is named iso19139.yourprofilename, then it is
    assumed in the
    > code that it is an extension of iso19139, is what I think. This
    means that
    > many of the XSLTs just use the templates in the XSLTs in the
    iso19139
    > schema present directory, unless you override them. Simon please
    correct me
    > if I'm wrong here ..
    >
    >> for example written on page 26 - Creating the extract XSLTs -
    its written
    >>
    > we must create four xslts, but there is only three examples
    > (extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl).
    >
    > You can just copy the same 4 xslts from the iso19139 schema and
    not modify
    > them unless that's needed for your profile.
    >
    >> Also there is an example of the eml-gbif schema (p.31) and
    there was
    >>
    > nothing written about eml-gbif schema before, which got me lost.
    >
    > Yes, it may be a bit unclear that in the middle of explaining
    about the mcp
    > profile, the doc starts referring to other profiles as well.
    Probably to
    > illustrate some points that could not be illustrated with the
    mcp profile.
    > In any case, like Simon said, check out the schemaprofiles SVN
    directory,
    > for several examples including that one.
    >
    > Some remarks about the documentation from my experience:
    >
    > (1) if you just create the profile in the /schemas directory
    with the
    > intention of having it automatically loaded on startup, you need
    to include
    > it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is
    > documented and took me awhile to discover.
    >
    > (2) what's not clear to me is what forms of detection you can put in
    > schema-ident.xml -- don't think all the mechanism is documented,
    there are
    > just some examples in the schemaprofiles SVN. For example can I
    detect a
    > schema by the simple presence of a particular namespace
    declaration in the
    > root element ? And what if several schemas match, how is it
    decided which
    > one wins ?
    >
    > (3) the doc describes first one method of doing it, and then
    shows another
    > way of doing it. This is a bit disconcerting if you follow the
    doc as a
    > step-by-step guide. Maybe it's better to introduce in the
    beginning the two
    > methods with links to them; or just describe only one of them,
    certainly if
    > one method is preferred over the other.
    >
    > If I think of anything else, I'll add to this thread.
    >
    > Thanks and kind regards,
    > Heikki Doeleman
    >
    > On Mon, Dec 5, 2011 at 2:06 PM,<Simon.Pigot@anonymised.com> wrote:
    >
    >> Hi Tania,
    >>
    >> The examples in the documentation are based on real schema
    plugins in the
    >> subversion repository and include references to a couple of
    different
    >> schemas so that you can get the idea of how to do the steps for
    profiles of
    >> ISO19115/19139 as well as non ISO schemas like eml-gbif. So if
    an example
    >> doesn't refer to the schema you were following you should still
    be able to
    >> find what you need by browsing the schema plugins directory at
    >>
    http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk
    >>
    >> That said, the docs are down on my list of things to review
    before the 2.8
    >> RC process starts as there have been some changes related to the
    >> experimental ExtJS interface etc and so we can still work on
    clarity as
    >> well - I'll see if I can review them in the next couple of
    days. Also if
    >> others have comments and things they want to add to the doco
    then maybe now
    >> is a good time to do this.
    >>
    >> Cheers,
    >> Simon
    >> ________________________________________
    >> From: Tania Firdausy [tania.puspita@anonymised.com
    <mailto:tania.puspita@anonymised.com>]
    >> Sent: Monday, 5 December 2011 7:58 PM
    >> To: tropicano@anonymised.com <mailto:tropicano@anonymised.com>
    >> Cc: geonetwork-users@lists.sourceforge.net
    <mailto:geonetwork-users@lists.sourceforge.net>;
    >> GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>
    >> Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional
    metadata elements
    >> in GN (how to describe them)..
    >>
    >> Hi Heikki,
    >>
    >> Thank you for your response. I tried to follow the schema
    extension steps
    >> but there were steps which were not clear for me. for example
    written on
    >> page 26 - Creating the extract XSLTs - its written we must
    create four
    >> xslts, but there is only three examples (extract-date-modified.xsl,
    >> extract-gml.xsl, and extract-uuid.xsl). Also there is an
    example of the
    >> eml-gbif schema (p.31) and there was nothing written about
    eml-gbif schema
    >> before, which got me lost. also the locations of the example files
    >> (labels.xml) were not in the specified directory, etc.. and I
    tried to
    >> continue..but I didnt succeed.
    >>
    >> Maybe do you have a more comprehensive and clear documentation for
    >> extending schemas in GN? it would be very nice if you could
    share it with
    >> me.
    >>
    >> Thank you very much in advance.
    >>
    >> Regards,
    >>
    >> Tania
    >>
    >> On Fri, Dec 2, 2011 at 6:17 PM, heikki<tropicano@anonymised.com
    <mailto:tropicano@anonymised.com><mailto:
    >> tropicano@anonymised.com <mailto:tropicano@anonymised.com>>> wrote:
    >> hi Tania,
    >>
    >> could you be more specific how you were not successful using
    the schema
    >> extension steps ? What did or did not work ?
    >>
    >> Kind regards
    >> Heikki Doeleman
    >>
    >> On Fri, Dec 2, 2011 at 6:05 PM, Tania
    Firdausy<tania.puspita@anonymised.com <mailto:tania.puspita@anonymised.com>
    >> <mailto:tania.puspita@anonymised.com
    <mailto:tania.puspita@anonymised.com>>> wrote:
    >>
    >> Hi there,
    >>
    >> I have been working with geonetwork for a couple of months. My
    institute
    >> wants to implement a geocatalog service using GN but we have
    additional
    >> metadata elements which are not yet defined in GN. for example
    we want to
    >> include metadata which describes the pixel information of the image
    >> (raster). I have been searching the wiki and forum, but seems
    like the
    >> steps defined there are not that clear (i have been following
    the schema
    >> extension steps described in GeoNetwork Developer Manual, Release
    >> 2.7.0-SNAPSHOT but not successful). It would be nice if you
    could give me
    >> some clear hints or step by step advice on how to do this.
    Thank you very
    >> much in advance.
    >>
    >> With best regards,
    >>
    >> Tania P Firdausy
    >>
    >> GIS Software Engineer
    >>
    ------------------------------------------------------------------------------
    >> 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
    >> _______________________________________________
    >> GeoNetwork-devel mailing list
    >> GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net><mailto:
    >> GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>>
    >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
    >> GeoNetwork OpenSource is maintained at
    >> http://sourceforge.net/projects/geonetwork
    >>
    >
    ------------------------------------------------------------------------------
    > Cloud Services Checklist: Pricing and Packaging Optimization
    > This white paper is intended to serve as a reference, checklist
    and point of
    > discussion for anyone considering optimizing the pricing and
    packaging model
    > of a cloud services business. Read Now!
    > http://www.accelacomm.com/jaw/sfnl/114/51491232/
    > _______________________________________________
    > GeoNetwork-users mailing list
    > GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    > GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork
    >

    ------------------------------------------------------------------------------
    Cloud Services Checklist: Pricing and Packaging Optimization
    This white paper is intended to serve as a reference, checklist
    and point of
    discussion for anyone considering optimizing the pricing and
    packaging model
    of a cloud services business. Read Now!
    http://www.accelacomm.com/jaw/sfnl/114/51491232/
    _______________________________________________
    GeoNetwork-users mailing list
    GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork

Hi Sara,

here is a hint from Heikki on how to install trunk:
------------------------------------------------------------------------
So what you need:

* you must have Maven installed -- this is for building the sources (see
http://maven.apache.org/) ;
* you need Java JDK installed, min. version 1.5 - this is for compiling
the sources (see
http://www.oracle.com/technetwork/java/javase/downloads/index.html) ;
* you need an SVN client to check out the sources from the SVN repository.
For windows, I use SmartSVN (http://www.syntevo.com/smartsvn/index.html) ;

Then, the steps are :

(1) checkout the sources using SmartSVN. The repository is at
https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/.

(2) now you have the sources in a local directory, let's say
C:\sources\gntrunk. Now you can build the sources by pointing a DOS command
prompt to that directory, and type "mvn -Dmaven.test.skip=true install".
(assuming you put the maven bin dir in your PATH, otherwise use the full
path to mvn.exe, of course). The skip-test parameter is because sometimes
some integration tests fails, which doesn't mean things don't work, but the
test is faulty.

(3) The result of this is a WAR file you could deploy if you use e.g.
Tomcat. If you want an executable installer, there is one more step: point
your DOS box to C:\sources\gntrunk\installer ant type "ant".

(I'm not sure if ant is automatically installed when you install Maven, if
you don't have it, find it here http://ant.apache.org/.)

The result of this is the executable installers in
directory C:\sources\gntrunk\geonetwork-2.7.0.
-----------------------------------------------------------------------------

I am currently trying to do this and hopefully it will work.. crossing my
fingers! :slight_smile:

Regards,

Tania

On Wed, Dec 7, 2011 at 12:55 PM, Sara Soto <sarasoto@anonymised.com> wrote:

Thanks Heikki!!
An strange question... where can I download the trunk code?
Thanks again! I am a beginner in this stuff
kind regards

Sara

El 07/12/2011 12:51, heikki escribió:
> hi Sara,
>
> it's in WEB-INF, but this whole plugin-profile mechanism is only
> available in GeoNetwork trunk, so if you use a release version you
> can't use it. Either download the trunk code and work with that, or
> wait for the 2.8 release, maybe in March 2012.
>
> Kind regards
> Heikki Doeleman
>
>
>
> On Wed, Dec 7, 2011 at 12:46 PM, Sara Soto <sarasoto@anonymised.com
> <mailto:sarasoto@anonymised.com>> wrote:
>
>
>
> Hi Heikki,
>
> as you answered Tania, I don´t have clear, this part:
>
> (1) if you just create the profile in the /schemas directory with the
> intention of having it automatically loaded on startup, you need to
> include it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't
> think this
> is documented and took me awhile to discover.
>
> The question is how can I get the schemaplugin-uri-catalog.xml?. It
is
> not in the Web-INF neither in the schemapluging
>
> Thank you for your explanation!
>
> Sara
>
>
>
>
> El 07/12/2011 12:03, Simon.Pigot@anonymised.com escribió:
> > Thanks Heikki - appreciate the detailed feedback - I'll include
> it in the review.
> >
> > Cheers,
> > Simon
> > ________________________________________
> > From: heikki [tropicano@anonymised.com <mailto:tropicano@anonymised.com>]
> > Sent: Wednesday, 7 December 2011 7:59 AM
> > To: Pigot, Simon (CMAR, Hobart)
> > Cc: geonetwork-users@lists.sourceforge.net
> <mailto:geonetwork-users@lists.sourceforge.net>;
> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net>
> > Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP NEEDED..
> additional metadata elements in GN (how to describe them)..
> >
> > hi Tania, Simon,
> >
> > if your schema is named iso19139.yourprofilename, then it is
> assumed in the
> > code that it is an extension of iso19139, is what I think. This
> means that
> > many of the XSLTs just use the templates in the XSLTs in the
> iso19139
> > schema present directory, unless you override them. Simon please
> correct me
> > if I'm wrong here ..
> >
> >
> >> for example written on page 26 - Creating the extract XSLTs -
> its written
> >>
> > we must create four xslts, but there is only three examples
> > (extract-date-modified.xsl, extract-gml.xsl, and extract-uuid.xsl).
> >
> > You can just copy the same 4 xslts from the iso19139 schema and
> not modify
> > them unless that's needed for your profile.
> >
> >
> >> Also there is an example of the eml-gbif schema (p.31) and
> there was
> >>
> > nothing written about eml-gbif schema before, which got me lost.
> >
> > Yes, it may be a bit unclear that in the middle of explaining
> about the mcp
> > profile, the doc starts referring to other profiles as well.
> Probably to
> > illustrate some points that could not be illustrated with the
> mcp profile.
> > In any case, like Simon said, check out the schemaprofiles SVN
> directory,
> > for several examples including that one.
> >
> > Some remarks about the documentation from my experience:
> >
> > (1) if you just create the profile in the /schemas directory
> with the
> > intention of having it automatically loaded on startup, you need
> to include
> > it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this is
> > documented and took me awhile to discover.
> >
> > (2) what's not clear to me is what forms of detection you can put
in
> > schema-ident.xml -- don't think all the mechanism is documented,
> there are
> > just some examples in the schemaprofiles SVN. For example can I
> detect a
> > schema by the simple presence of a particular namespace
> declaration in the
> > root element ? And what if several schemas match, how is it
> decided which
> > one wins ?
> >
> > (3) the doc describes first one method of doing it, and then
> shows another
> > way of doing it. This is a bit disconcerting if you follow the
> doc as a
> > step-by-step guide. Maybe it's better to introduce in the
> beginning the two
> > methods with links to them; or just describe only one of them,
> certainly if
> > one method is preferred over the other.
> >
> > If I think of anything else, I'll add to this thread.
> >
> > Thanks and kind regards,
> > Heikki Doeleman
> >
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Dec 5, 2011 at 2:06 PM,<Simon.Pigot@anonymised.com> wrote:
> >
> >
> >> Hi Tania,
> >>
> >> The examples in the documentation are based on real schema
> plugins in the
> >> subversion repository and include references to a couple of
> different
> >> schemas so that you can get the idea of how to do the steps for
> profiles of
> >> ISO19115/19139 as well as non ISO schemas like eml-gbif. So if
> an example
> >> doesn't refer to the schema you were following you should still
> be able to
> >> find what you need by browsing the schema plugins directory at
> >>
>
http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk
> >>
> >> That said, the docs are down on my list of things to review
> before the 2.8
> >> RC process starts as there have been some changes related to the
> >> experimental ExtJS interface etc and so we can still work on
> clarity as
> >> well - I'll see if I can review them in the next couple of
> days. Also if
> >> others have comments and things they want to add to the doco
> then maybe now
> >> is a good time to do this.
> >>
> >> Cheers,
> >> Simon
> >> ________________________________________
> >> From: Tania Firdausy [tania.puspita@anonymised.com
> <mailto:tania.puspita@anonymised.com>]
> >> Sent: Monday, 5 December 2011 7:58 PM
> >> To: tropicano@anonymised.com <mailto:tropicano@anonymised.com>
> >> Cc: geonetwork-users@lists.sourceforge.net
> <mailto:geonetwork-users@lists.sourceforge.net>;
> >> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net>
> >> Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional
> metadata elements
> >> in GN (how to describe them)..
> >>
> >> Hi Heikki,
> >>
> >> Thank you for your response. I tried to follow the schema
> extension steps
> >> but there were steps which were not clear for me. for example
> written on
> >> page 26 - Creating the extract XSLTs - its written we must
> create four
> >> xslts, but there is only three examples
(extract-date-modified.xsl,
> >> extract-gml.xsl, and extract-uuid.xsl). Also there is an
> example of the
> >> eml-gbif schema (p.31) and there was nothing written about
> eml-gbif schema
> >> before, which got me lost. also the locations of the example files
> >> (labels.xml) were not in the specified directory, etc.. and I
> tried to
> >> continue..but I didnt succeed.
> >>
> >> Maybe do you have a more comprehensive and clear documentation for
> >> extending schemas in GN? it would be very nice if you could
> share it with
> >> me.
> >>
> >> Thank you very much in advance.
> >>
> >> Regards,
> >>
> >> Tania
> >>
> >> On Fri, Dec 2, 2011 at 6:17 PM, heikki<tropicano@anonymised.com
> <mailto:tropicano@anonymised.com><mailto:
> >> tropicano@anonymised.com <mailto:tropicano@anonymised.com>>> wrote:
> >> hi Tania,
> >>
> >> could you be more specific how you were not successful using
> the schema
> >> extension steps ? What did or did not work ?
> >>
> >> Kind regards
> >> Heikki Doeleman
> >>
> >> On Fri, Dec 2, 2011 at 6:05 PM, Tania
> Firdausy<tania.puspita@anonymised.com <mailto:tania.puspita@anonymised.com>
> >> <mailto:tania.puspita@anonymised.com
> <mailto:tania.puspita@anonymised.com>>> wrote:
> >>
> >> Hi there,
> >>
> >> I have been working with geonetwork for a couple of months. My
> institute
> >> wants to implement a geocatalog service using GN but we have
> additional
> >> metadata elements which are not yet defined in GN. for example
> we want to
> >> include metadata which describes the pixel information of the
image
> >> (raster). I have been searching the wiki and forum, but seems
> like the
> >> steps defined there are not that clear (i have been following
> the schema
> >> extension steps described in GeoNetwork Developer Manual, Release
> >> 2.7.0-SNAPSHOT but not successful). It would be nice if you
> could give me
> >> some clear hints or step by step advice on how to do this.
> Thank you very
> >> much in advance.
> >>
> >>
> >>
> >> With best regards,
> >>
> >>
> >>
> >> Tania P Firdausy
> >>
> >> GIS Software Engineer
> >>
> >>
> >>
>
------------------------------------------------------------------------------
> >> 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
> >> _______________________________________________
> >> GeoNetwork-devel mailing list
> >> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net><mailto:
> >> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net>>
> >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> >> GeoNetwork OpenSource is maintained at
> >> http://sourceforge.net/projects/geonetwork
> >>
> >>
> >>
> >>
> >
> >
>
------------------------------------------------------------------------------
> > Cloud Services Checklist: Pricing and Packaging Optimization
> > This white paper is intended to serve as a reference, checklist
> and point of
> > discussion for anyone considering optimizing the pricing and
> packaging model
> > of a cloud services business. Read Now!
> > http://www.accelacomm.com/jaw/sfnl/114/51491232/
> > _______________________________________________
> > GeoNetwork-users mailing list
> > GeoNetwork-users@lists.sourceforge.net
> <mailto:GeoNetwork-users@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> > GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
> >
>
>
------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist
> and point of
> discussion for anyone considering optimizing the pricing and
> packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> <mailto:GeoNetwork-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point
of
discussion for anyone considering optimizing the pricing and packaging
model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Tania
Thanks! Heikki has passed me the explanation a few hours ago.
Thank you any way!! I am currently trying as well!
I hope it will be work, we will see, I am a beginner...

Regards,

Sara

El 07/12/2011 14:20, Tania Firdausy escribió:

Hi Sara,

here is a hint from Heikki on how to install trunk:
------------------------------------------------------------------------
So what you need:

* you must have Maven installed -- this is for building the sources (see http://maven.apache.org/) ;
* you need Java JDK installed, min. version 1.5 - this is for compiling the sources (see http://www.oracle.com/technetwork/java/javase/downloads/index.html) ;
* you need an SVN client to check out the sources from the SVN repository. For windows, I use SmartSVN (http://www.syntevo.com/smartsvn/index.html) ;

Then, the steps are :

(1) checkout the sources using SmartSVN. The repository is at https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/.

(2) now you have the sources in a local directory, let's say C:\sources\gntrunk. Now you can build the sources by pointing a DOS command prompt to that directory, and type "mvn -Dmaven.test.skip=true install". (assuming you put the maven bin dir in your PATH, otherwise use the full path to mvn.exe, of course). The skip-test parameter is because sometimes some integration tests fails, which doesn't mean things don't work, but the test is faulty.

(3) The result of this is a WAR file you could deploy if you use e.g. Tomcat. If you want an executable installer, there is one more step: point your DOS box to C:\sources\gntrunk\installer ant type "ant".

(I'm not sure if ant is automatically installed when you install Maven, if you don't have it, find it here http://ant.apache.org/.)

The result of this is the executable installers in directory C:\sources\gntrunk\geonetwork-2.7.0.
-----------------------------------------------------------------------------

I am currently trying to do this and hopefully it will work.. crossing my fingers! :slight_smile:

Regards,

Tania

On Wed, Dec 7, 2011 at 12:55 PM, Sara Soto <sarasoto@anonymised.com <mailto:sarasoto@anonymised.com>> wrote:

    Thanks Heikki!!
    An strange question... where can I download the trunk code?
    Thanks again! I am a beginner in this stuff
    kind regards

    Sara

    El 07/12/2011 12:51, heikki escribió:
    > hi Sara,
    >
    > it's in WEB-INF, but this whole plugin-profile mechanism is only
    > available in GeoNetwork trunk, so if you use a release version you
    > can't use it. Either download the trunk code and work with that, or
    > wait for the 2.8 release, maybe in March 2012.
    >
    > Kind regards
    > Heikki Doeleman
    >
    > On Wed, Dec 7, 2011 at 12:46 PM, Sara Soto <sarasoto@anonymised.com
    <mailto:sarasoto@anonymised.com>
    > <mailto:sarasoto@anonymised.com>> wrote:
    >
    > Hi Heikki,
    >
    > as you answered Tania, I don´t have clear, this part:
    >
    > (1) if you just create the profile in the /schemas directory
    with the
    > intention of having it automatically loaded on startup, you
    need to
    > include it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't
    > think this
    > is documented and took me awhile to discover.
    >
    > The question is how can I get the
    schemaplugin-uri-catalog.xml?. It is
    > not in the Web-INF neither in the schemapluging
    >
    > Thank you for your explanation!
    >
    > Sara
    >
    > El 07/12/2011 12:03, Simon.Pigot@anonymised.com escribió:
    > > Thanks Heikki - appreciate the detailed feedback - I'll include
    > it in the review.
    > >
    > > Cheers,
    > > Simon
    > > ________________________________________
    > > From: heikki [tropicano@anonymised.com <mailto:tropicano@anonymised.com>
    <mailto:tropicano@anonymised.com>]
    > > Sent: Wednesday, 7 December 2011 7:59 AM
    > > To: Pigot, Simon (CMAR, Hobart)
    > > Cc: geonetwork-users@lists.sourceforge.net
    <mailto:geonetwork-users@lists.sourceforge.net>
    > <mailto:geonetwork-users@lists.sourceforge.net
    <mailto:geonetwork-users@lists.sourceforge.net>>;
    > GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>
    > <mailto:GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>>
    > > Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP NEEDED..
    > additional metadata elements in GN (how to describe them)..
    > >
    > > hi Tania, Simon,
    > >
    > > if your schema is named iso19139.yourprofilename, then it is
    > assumed in the
    > > code that it is an extension of iso19139, is what I think. This
    > means that
    > > many of the XSLTs just use the templates in the XSLTs in the
    > iso19139
    > > schema present directory, unless you override them. Simon please
    > correct me
    > > if I'm wrong here ..
    > >
    > >> for example written on page 26 - Creating the extract XSLTs -
    > its written
    > >>
    > > we must create four xslts, but there is only three examples
    > > (extract-date-modified.xsl, extract-gml.xsl, and
    extract-uuid.xsl).
    > >
    > > You can just copy the same 4 xslts from the iso19139 schema and
    > not modify
    > > them unless that's needed for your profile.
    > >
    > >> Also there is an example of the eml-gbif schema (p.31) and
    > there was
    > >>
    > > nothing written about eml-gbif schema before, which got me lost.
    > >
    > > Yes, it may be a bit unclear that in the middle of explaining
    > about the mcp
    > > profile, the doc starts referring to other profiles as well.
    > Probably to
    > > illustrate some points that could not be illustrated with the
    > mcp profile.
    > > In any case, like Simon said, check out the schemaprofiles SVN
    > directory,
    > > for several examples including that one.
    > >
    > > Some remarks about the documentation from my experience:
    > >
    > > (1) if you just create the profile in the /schemas directory
    > with the
    > > intention of having it automatically loaded on startup, you need
    > to include
    > > it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think
    this is
    > > documented and took me awhile to discover.
    > >
    > > (2) what's not clear to me is what forms of detection you can
    put in
    > > schema-ident.xml -- don't think all the mechanism is documented,
    > there are
    > > just some examples in the schemaprofiles SVN. For example can I
    > detect a
    > > schema by the simple presence of a particular namespace
    > declaration in the
    > > root element ? And what if several schemas match, how is it
    > decided which
    > > one wins ?
    > >
    > > (3) the doc describes first one method of doing it, and then
    > shows another
    > > way of doing it. This is a bit disconcerting if you follow the
    > doc as a
    > > step-by-step guide. Maybe it's better to introduce in the
    > beginning the two
    > > methods with links to them; or just describe only one of them,
    > certainly if
    > > one method is preferred over the other.
    > >
    > > If I think of anything else, I'll add to this thread.
    > >
    > > Thanks and kind regards,
    > > Heikki Doeleman
    > >
    > > On Mon, Dec 5, 2011 at 2:06 PM,<Simon.Pigot@anonymised.com> wrote:
    > >
    > >> Hi Tania,
    > >>
    > >> The examples in the documentation are based on real schema
    > plugins in the
    > >> subversion repository and include references to a couple of
    > different
    > >> schemas so that you can get the idea of how to do the steps for
    > profiles of
    > >> ISO19115/19139 as well as non ISO schemas like eml-gbif. So if
    > an example
    > >> doesn't refer to the schema you were following you should still
    > be able to
    > >> find what you need by browsing the schema plugins directory at
    > >>
    >
    http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk
    > >>
    > >> That said, the docs are down on my list of things to review
    > before the 2.8
    > >> RC process starts as there have been some changes related to the
    > >> experimental ExtJS interface etc and so we can still work on
    > clarity as
    > >> well - I'll see if I can review them in the next couple of
    > days. Also if
    > >> others have comments and things they want to add to the doco
    > then maybe now
    > >> is a good time to do this.
    > >>
    > >> Cheers,
    > >> Simon
    > >> ________________________________________
    > >> From: Tania Firdausy [tania.puspita@anonymised.com
    <mailto:tania.puspita@anonymised.com>
    > <mailto:tania.puspita@anonymised.com>]
    > >> Sent: Monday, 5 December 2011 7:58 PM
    > >> To: tropicano@anonymised.com <mailto:tropicano@anonymised.com>
    <mailto:tropicano@anonymised.com>
    > >> Cc: geonetwork-users@lists.sourceforge.net
    <mailto:geonetwork-users@lists.sourceforge.net>
    > <mailto:geonetwork-users@lists.sourceforge.net
    <mailto:geonetwork-users@lists.sourceforge.net>>;
    > >> GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>
    > <mailto:GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>>
    > >> Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional
    > metadata elements
    > >> in GN (how to describe them)..
    > >>
    > >> Hi Heikki,
    > >>
    > >> Thank you for your response. I tried to follow the schema
    > extension steps
    > >> but there were steps which were not clear for me. for example
    > written on
    > >> page 26 - Creating the extract XSLTs - its written we must
    > create four
    > >> xslts, but there is only three examples
    (extract-date-modified.xsl,
    > >> extract-gml.xsl, and extract-uuid.xsl). Also there is an
    > example of the
    > >> eml-gbif schema (p.31) and there was nothing written about
    > eml-gbif schema
    > >> before, which got me lost. also the locations of the example
    files
    > >> (labels.xml) were not in the specified directory, etc.. and I
    > tried to
    > >> continue..but I didnt succeed.
    > >>
    > >> Maybe do you have a more comprehensive and clear
    documentation for
    > >> extending schemas in GN? it would be very nice if you could
    > share it with
    > >> me.
    > >>
    > >> Thank you very much in advance.
    > >>
    > >> Regards,
    > >>
    > >> Tania
    > >>
    > >> On Fri, Dec 2, 2011 at 6:17 PM, heikki<tropicano@anonymised.com
    <mailto:tropicano@anonymised.com>
    > <mailto:tropicano@anonymised.com><mailto:
    > >> tropicano@anonymised.com <mailto:tropicano@anonymised.com>
    <mailto:tropicano@anonymised.com>>> wrote:
    > >> hi Tania,
    > >>
    > >> could you be more specific how you were not successful using
    > the schema
    > >> extension steps ? What did or did not work ?
    > >>
    > >> Kind regards
    > >> Heikki Doeleman
    > >>
    > >> On Fri, Dec 2, 2011 at 6:05 PM, Tania
    > Firdausy<tania.puspita@anonymised.com
    <mailto:tania.puspita@anonymised.com> <mailto:tania.puspita@anonymised.com
    <mailto:tania.puspita@anonymised.com>>
    > >> <mailto:tania.puspita@anonymised.com
    > <mailto:tania.puspita@anonymised.com
    <mailto:tania.puspita@anonymised.com>>>> wrote:
    > >>
    > >> Hi there,
    > >>
    > >> I have been working with geonetwork for a couple of months. My
    > institute
    > >> wants to implement a geocatalog service using GN but we have
    > additional
    > >> metadata elements which are not yet defined in GN. for example
    > we want to
    > >> include metadata which describes the pixel information of the
    image
    > >> (raster). I have been searching the wiki and forum, but seems
    > like the
    > >> steps defined there are not that clear (i have been following
    > the schema
    > >> extension steps described in GeoNetwork Developer Manual, Release
    > >> 2.7.0-SNAPSHOT but not successful). It would be nice if you
    > could give me
    > >> some clear hints or step by step advice on how to do this.
    > Thank you very
    > >> much in advance.
    > >>
    > >> With best regards,
    > >>
    > >> Tania P Firdausy
    > >>
    > >> GIS Software Engineer
    > >>
    > ------------------------------------------------------------------------------
    > >> 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
    > >> _______________________________________________
    > >> GeoNetwork-devel mailing list
    > >> GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>
    > <mailto:GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>><mailto:
    > >> GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>
    > <mailto:GeoNetwork-devel@lists.sourceforge.net
    <mailto:GeoNetwork-devel@lists.sourceforge.net>>>
    > >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
    > >> GeoNetwork OpenSource is maintained at
    > >> http://sourceforge.net/projects/geonetwork
    > >>
    > >
    > ------------------------------------------------------------------------------
    > > Cloud Services Checklist: Pricing and Packaging Optimization
    > > This white paper is intended to serve as a reference, checklist
    > and point of
    > > discussion for anyone considering optimizing the pricing and
    > packaging model
    > > of a cloud services business. Read Now!
    > > http://www.accelacomm.com/jaw/sfnl/114/51491232/
    > > _______________________________________________
    > > GeoNetwork-users mailing list
    > > GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    > <mailto:GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>>
    > > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    > > GeoNetwork OpenSource is maintained at
    > http://sourceforge.net/projects/geonetwork
    > >
    >
    > ------------------------------------------------------------------------------
    > Cloud Services Checklist: Pricing and Packaging Optimization
    > This white paper is intended to serve as a reference, checklist
    > and point of
    > discussion for anyone considering optimizing the pricing and
    > packaging model
    > of a cloud services business. Read Now!
    > http://www.accelacomm.com/jaw/sfnl/114/51491232/
    > _______________________________________________
    > GeoNetwork-users mailing list
    > GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    > <mailto:GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>>
    > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    > GeoNetwork OpenSource is maintained at
    > http://sourceforge.net/projects/geonetwork
    >

    ------------------------------------------------------------------------------
    Cloud Services Checklist: Pricing and Packaging Optimization
    This white paper is intended to serve as a reference, checklist
    and point of
    discussion for anyone considering optimizing the pricing and
    packaging model
    of a cloud services business. Read Now!
    http://www.accelacomm.com/jaw/sfnl/114/51491232/
    _______________________________________________
    GeoNetwork-users mailing list
    GeoNetwork-users@lists.sourceforge.net
    <mailto:GeoNetwork-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geonetwork-users
    GeoNetwork OpenSource is maintained at
    http://sourceforge.net/projects/geonetwork

Hi Heikki and Sara,

how did your trunk installation go? mine didnt go well.. It took quite
some time to build the sources and at the end it resulted in 45 errors and
no war file at the end.
---------------------------------------------------------------------------------------------------------------
[INFO] 45 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. SUCCESS [1.485s]
[INFO] Caching xslt module ............................... SUCCESS [0.953s]
[INFO] Jeeves modules .................................... FAILURE [2.422s]
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork web client module ...................... SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] GeoServer module .................................. SKIPPED
[INFO] Gast module ....................................... SKIPPED
[INFO] GeoNetwork Integration Tests ...................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5.516s
[INFO] Finished at: Fri Dec 09 09:22:44 CET 2011
[INFO] Final Memory: 7M/22M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project jeeves: Compilation failure:
Compilatio
n failure

------------------------------------------------------------------------------------------------------------------------

hmmm... do you know what caused this and how to solve it?

Thank you very much one again.

Regards,

Tania
On Wed, Dec 7, 2011 at 2:26 PM, Sara Soto <sarasoto@anonymised.com> wrote:

**

Hi Tania
Thanks! Heikki has passed me the explanation a few hours ago.
Thank you any way!! I am currently trying as well!
I hope it will be work, we will see, I am a beginner...

Regards,

Sara

El 07/12/2011 14:20, Tania Firdausy escribió:

Hi Sara,

here is a hint from Heikki on how to install trunk:
------------------------------------------------------------------------
So what you need:

* you must have Maven installed -- this is for building the sources (see
http://maven.apache.org/) ;
* you need Java JDK installed, min. version 1.5 - this is for compiling
the sources (see
http://www.oracle.com/technetwork/java/javase/downloads/index.html) ;
* you need an SVN client to check out the sources from the SVN
repository. For windows, I use SmartSVN (
http://www.syntevo.com/smartsvn/index.html) ;

Then, the steps are :

(1) checkout the sources using SmartSVN. The repository is at
https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/.

(2) now you have the sources in a local directory, let's say
C:\sources\gntrunk. Now you can build the sources by pointing a DOS command
prompt to that directory, and type "mvn -Dmaven.test.skip=true install".
(assuming you put the maven bin dir in your PATH, otherwise use the full
path to mvn.exe, of course). The skip-test parameter is because sometimes
some integration tests fails, which doesn't mean things don't work, but the
test is faulty.

(3) The result of this is a WAR file you could deploy if you use e.g.
Tomcat. If you want an executable installer, there is one more step: point
your DOS box to C:\sources\gntrunk\installer ant type "ant".

(I'm not sure if ant is automatically installed when you install Maven, if
you don't have it, find it here http://ant.apache.org/.)

The result of this is the executable installers in
directory C:\sources\gntrunk\geonetwork-2.7.0.

-----------------------------------------------------------------------------

I am currently trying to do this and hopefully it will work.. crossing my
fingers! :slight_smile:

Regards,

Tania

On Wed, Dec 7, 2011 at 12:55 PM, Sara Soto <sarasoto@anonymised.com> wrote:

Thanks Heikki!!
An strange question... where can I download the trunk code?
Thanks again! I am a beginner in this stuff
kind regards

Sara

El 07/12/2011 12:51, heikki escribió:
> hi Sara,
>
> it's in WEB-INF, but this whole plugin-profile mechanism is only
> available in GeoNetwork trunk, so if you use a release version you
> can't use it. Either download the trunk code and work with that, or
> wait for the 2.8 release, maybe in March 2012.
>
> Kind regards
> Heikki Doeleman
>
>
>
> On Wed, Dec 7, 2011 at 12:46 PM, Sara Soto <sarasoto@anonymised.com
> <mailto:sarasoto@anonymised.com>> wrote:
>
>
>
> Hi Heikki,
>
> as you answered Tania, I don´t have clear, this part:
>
> (1) if you just create the profile in the /schemas directory with
the
> intention of having it automatically loaded on startup, you need to
> include it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't
> think this
> is documented and took me awhile to discover.
>
> The question is how can I get the schemaplugin-uri-catalog.xml?. It
is
> not in the Web-INF neither in the schemapluging
>
> Thank you for your explanation!
>
> Sara
>
>
>
>
> El 07/12/2011 12:03, Simon.Pigot@anonymised.com escribió:
> > Thanks Heikki - appreciate the detailed feedback - I'll include
> it in the review.
> >
> > Cheers,
> > Simon
> > ________________________________________
> > From: heikki [tropicano@anonymised.com <mailto:tropicano@anonymised.com>]
> > Sent: Wednesday, 7 December 2011 7:59 AM
> > To: Pigot, Simon (CMAR, Hobart)
> > Cc: geonetwork-users@lists.sourceforge.net
> <mailto:geonetwork-users@lists.sourceforge.net>;
> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net>
> > Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP NEEDED..
> additional metadata elements in GN (how to describe them)..
> >
> > hi Tania, Simon,
> >
> > if your schema is named iso19139.yourprofilename, then it is
> assumed in the
> > code that it is an extension of iso19139, is what I think. This
> means that
> > many of the XSLTs just use the templates in the XSLTs in the
> iso19139
> > schema present directory, unless you override them. Simon please
> correct me
> > if I'm wrong here ..
> >
> >
> >> for example written on page 26 - Creating the extract XSLTs -
> its written
> >>
> > we must create four xslts, but there is only three examples
> > (extract-date-modified.xsl, extract-gml.xsl, and
extract-uuid.xsl).
> >
> > You can just copy the same 4 xslts from the iso19139 schema and
> not modify
> > them unless that's needed for your profile.
> >
> >
> >> Also there is an example of the eml-gbif schema (p.31) and
> there was
> >>
> > nothing written about eml-gbif schema before, which got me lost.
> >
> > Yes, it may be a bit unclear that in the middle of explaining
> about the mcp
> > profile, the doc starts referring to other profiles as well.
> Probably to
> > illustrate some points that could not be illustrated with the
> mcp profile.
> > In any case, like Simon said, check out the schemaprofiles SVN
> directory,
> > for several examples including that one.
> >
> > Some remarks about the documentation from my experience:
> >
> > (1) if you just create the profile in the /schemas directory
> with the
> > intention of having it automatically loaded on startup, you need
> to include
> > it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't think this
is
> > documented and took me awhile to discover.
> >
> > (2) what's not clear to me is what forms of detection you can put
in
> > schema-ident.xml -- don't think all the mechanism is documented,
> there are
> > just some examples in the schemaprofiles SVN. For example can I
> detect a
> > schema by the simple presence of a particular namespace
> declaration in the
> > root element ? And what if several schemas match, how is it
> decided which
> > one wins ?
> >
> > (3) the doc describes first one method of doing it, and then
> shows another
> > way of doing it. This is a bit disconcerting if you follow the
> doc as a
> > step-by-step guide. Maybe it's better to introduce in the
> beginning the two
> > methods with links to them; or just describe only one of them,
> certainly if
> > one method is preferred over the other.
> >
> > If I think of anything else, I'll add to this thread.
> >
> > Thanks and kind regards,
> > Heikki Doeleman
> >
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Dec 5, 2011 at 2:06 PM,<Simon.Pigot@anonymised.com><Simon.Pigot@anonymised.com> wrote:
> >
> >
> >> Hi Tania,
> >>
> >> The examples in the documentation are based on real schema
> plugins in the
> >> subversion repository and include references to a couple of
> different
> >> schemas so that you can get the idea of how to do the steps for
> profiles of
> >> ISO19115/19139 as well as non ISO schemas like eml-gbif. So if
> an example
> >> doesn't refer to the schema you were following you should still
> be able to
> >> find what you need by browsing the schema plugins directory at
> >>
>
http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk
> >>
> >> That said, the docs are down on my list of things to review
> before the 2.8
> >> RC process starts as there have been some changes related to the
> >> experimental ExtJS interface etc and so we can still work on
> clarity as
> >> well - I'll see if I can review them in the next couple of
> days. Also if
> >> others have comments and things they want to add to the doco
> then maybe now
> >> is a good time to do this.
> >>
> >> Cheers,
> >> Simon
> >> ________________________________________
> >> From: Tania Firdausy [tania.puspita@anonymised.com
> <mailto:tania.puspita@anonymised.com>]
> >> Sent: Monday, 5 December 2011 7:58 PM
> >> To: tropicano@anonymised.com <mailto:tropicano@anonymised.com>
> >> Cc: geonetwork-users@lists.sourceforge.net
> <mailto:geonetwork-users@lists.sourceforge.net>;
> >> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net>
> >> Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional
> metadata elements
> >> in GN (how to describe them)..
> >>
> >> Hi Heikki,
> >>
> >> Thank you for your response. I tried to follow the schema
> extension steps
> >> but there were steps which were not clear for me. for example
> written on
> >> page 26 - Creating the extract XSLTs - its written we must
> create four
> >> xslts, but there is only three examples
(extract-date-modified.xsl,
> >> extract-gml.xsl, and extract-uuid.xsl). Also there is an
> example of the
> >> eml-gbif schema (p.31) and there was nothing written about
> eml-gbif schema
> >> before, which got me lost. also the locations of the example
files
> >> (labels.xml) were not in the specified directory, etc.. and I
> tried to
> >> continue..but I didnt succeed.
> >>
> >> Maybe do you have a more comprehensive and clear documentation
for
> >> extending schemas in GN? it would be very nice if you could
> share it with
> >> me.
> >>
> >> Thank you very much in advance.
> >>
> >> Regards,
> >>
> >> Tania
> >>
> >> On Fri, Dec 2, 2011 at 6:17 PM, heikki<tropicano@anonymised.com
> <mailto:tropicano@anonymised.com><mailto:
> >> tropicano@anonymised.com <mailto:tropicano@anonymised.com>>> wrote:
> >> hi Tania,
> >>
> >> could you be more specific how you were not successful using
> the schema
> >> extension steps ? What did or did not work ?
> >>
> >> Kind regards
> >> Heikki Doeleman
> >>
> >> On Fri, Dec 2, 2011 at 6:05 PM, Tania
> Firdausy<tania.puspita@anonymised.com <mailto:tania.puspita@anonymised.com>
> >> <mailto:tania.puspita@anonymised.com
> <mailto:tania.puspita@anonymised.com>>> wrote:
> >>
> >> Hi there,
> >>
> >> I have been working with geonetwork for a couple of months. My
> institute
> >> wants to implement a geocatalog service using GN but we have
> additional
> >> metadata elements which are not yet defined in GN. for example
> we want to
> >> include metadata which describes the pixel information of the
image
> >> (raster). I have been searching the wiki and forum, but seems
> like the
> >> steps defined there are not that clear (i have been following
> the schema
> >> extension steps described in GeoNetwork Developer Manual, Release
> >> 2.7.0-SNAPSHOT but not successful). It would be nice if you
> could give me
> >> some clear hints or step by step advice on how to do this.
> Thank you very
> >> much in advance.
> >>
> >>
> >>
> >> With best regards,
> >>
> >>
> >>
> >> Tania P Firdausy
> >>
> >> GIS Software Engineer
> >>
> >>
> >>
>
------------------------------------------------------------------------------
> >> 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
> >> _______________________________________________
> >> GeoNetwork-devel mailing list
> >> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net><mailto:
> >> GeoNetwork-devel@lists.sourceforge.net
> <mailto:GeoNetwork-devel@lists.sourceforge.net>>
> >> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> >> GeoNetwork OpenSource is maintained at
> >> http://sourceforge.net/projects/geonetwork
> >>
> >>
> >>
> >>
> >
> >
>
------------------------------------------------------------------------------
> > Cloud Services Checklist: Pricing and Packaging Optimization
> > This white paper is intended to serve as a reference, checklist
> and point of
> > discussion for anyone considering optimizing the pricing and
> packaging model
> > of a cloud services business. Read Now!
> > http://www.accelacomm.com/jaw/sfnl/114/51491232/
> > _______________________________________________
> > GeoNetwork-users mailing list
> > GeoNetwork-users@lists.sourceforge.net
> <mailto:GeoNetwork-users@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> > GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
> >
>
>
------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist
> and point of
> discussion for anyone considering optimizing the pricing and
> packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> <mailto:GeoNetwork-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
>

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point
of
discussion for anyone considering optimizing the pricing and packaging
model
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi Tania and Heikki,

I were not able to install the truck. I have a problem in the second step:

Now you can build the sources by pointing a DOS command prompt to that directory, and type "mvn -Dmaven.test.skip=true install". (assuming you put the maven bin dir in your PATH, otherwise use the full path to mvn.exe, of course). The skip-test parameter is because sometimes some integration tests fails, which doesn't mean things don't work, but the test is faulty.

I don´t know why i can´t install the Dmaven. In my Maven download, I don´t have any mvn.exe.

Thanks again!!

Regards,

Sara

El 09/12/2011 9:37, Tania Firdausy escribió:

Hi Heikki and Sara,
how did your trunk installation go? mine didnt go well.. It took quite some time to build the sources and at the end it resulted in 45 errors and no war file at the end.
---------------------------------------------------------------------------------------------------------------
[INFO] 45 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. SUCCESS [1.485s]
[INFO] Caching xslt module ............................... SUCCESS [0.953s]
[INFO] Jeeves modules .................................... FAILURE [2.422s]
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork web client module ...................... SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] GeoServer module .................................. SKIPPED
[INFO] Gast module ....................................... SKIPPED
[INFO] GeoNetwork Integration Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.516s
[INFO] Finished at: Fri Dec 09 09:22:44 CET 2011
[INFO] Final Memory: 7M/22M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project jeeves: Compilation failure: Compilatio
n failure
------------------------------------------------------------------------------------------------------------------------
hmmm... do you know what caused this and how to solve it?
Thank you very much one again.
Regards,
Tania
On Wed, Dec 7, 2011 at 2:26 PM, Sara Soto <sarasoto@anonymised.com <mailto:sarasoto@anonymised.com>> wrote:

    Hi Tania
    Thanks! Heikki has passed me the explanation a few hours ago.
    Thank you any way!! I am currently trying as well!
    I hope it will be work, we will see, I am a beginner...

    Regards,

    Sara

    El 07/12/2011 14:20, Tania Firdausy escribió:

    Hi Sara,

    here is a hint from Heikki on how to install trunk:
    ------------------------------------------------------------------------
    So what you need:

     * you must have Maven installed -- this is for building the
    sources (see http://maven.apache.org/) ;
     * you need Java JDK installed, min. version 1.5 - this is for
    compiling the sources (see
    http://www.oracle.com/technetwork/java/javase/downloads/index.html) ;
     * you need an SVN client to check out the sources from the SVN
    repository. For windows, I use SmartSVN
    (http://www.syntevo.com/smartsvn/index.html) ;

    Then, the steps are :

    (1) checkout the sources using SmartSVN. The repository is at
    https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/.

    (2) now you have the sources in a local directory, let's say
    C:\sources\gntrunk. Now you can build the sources by pointing a
    DOS command prompt to that directory, and type
    "mvn -Dmaven.test.skip=true install". (assuming you put the maven
    bin dir in your PATH, otherwise use the full path to mvn.exe, of
    course). The skip-test parameter is because sometimes some
    integration tests fails, which doesn't mean things don't work,
    but the test is faulty.

    (3) The result of this is a WAR file you could deploy if you use
    e.g. Tomcat. If you want an executable installer, there is one
    more step: point your DOS box to C:\sources\gntrunk\installer ant
    type "ant".

    (I'm not sure if ant is automatically installed when you install
    Maven, if you don't have it, find it here http://ant.apache.org/.)

    The result of this is the executable installers in
    directory C:\sources\gntrunk\geonetwork-2.7.0.
    -----------------------------------------------------------------------------

    I am currently trying to do this and hopefully it will work..
    crossing my fingers! :slight_smile:

    Regards,

    Tania

    On Wed, Dec 7, 2011 at 12:55 PM, Sara Soto <sarasoto@anonymised.com
    <mailto:sarasoto@anonymised.com>> wrote:

        Thanks Heikki!!
        An strange question... where can I download the trunk code?
        Thanks again! I am a beginner in this stuff
        kind regards

        Sara

        El 07/12/2011 12:51, heikki escribió:
        > hi Sara,
        >
        > it's in WEB-INF, but this whole plugin-profile mechanism is
        only
        > available in GeoNetwork trunk, so if you use a release
        version you
        > can't use it. Either download the trunk code and work with
        that, or
        > wait for the 2.8 release, maybe in March 2012.
        >
        > Kind regards
        > Heikki Doeleman
        >
        > On Wed, Dec 7, 2011 at 12:46 PM, Sara Soto
        <sarasoto@anonymised.com <mailto:sarasoto@anonymised.com>
        > <mailto:sarasoto@anonymised.com
        <mailto:sarasoto@anonymised.com>>> wrote:
        >
        > Hi Heikki,
        >
        > as you answered Tania, I don´t have clear, this part:
        >
        > (1) if you just create the profile in the /schemas
        directory with the
        > intention of having it automatically loaded on startup,
        you need to
        > include it too in WEB-INF/schemaplugin-uri-catalog.xml.
        Don't
        > think this
        > is documented and took me awhile to discover.
        >
        > The question is how can I get the
        schemaplugin-uri-catalog.xml?. It is
        > not in the Web-INF neither in the schemapluging
        >
        > Thank you for your explanation!
        >
        > Sara
        >
        > El 07/12/2011 12:03, Simon.Pigot@anonymised.com
        <mailto:Simon.Pigot@anonymised.com> escribió:
        > > Thanks Heikki - appreciate the detailed feedback - I'll
        include
        > it in the review.
        > >
        > > Cheers,
        > > Simon
        > > ________________________________________
        > > From: heikki [tropicano@anonymised.com
        <mailto:tropicano@anonymised.com> <mailto:tropicano@anonymised.com
        <mailto:tropicano@anonymised.com>>]
        > > Sent: Wednesday, 7 December 2011 7:59 AM
        > > To: Pigot, Simon (CMAR, Hobart)
        > > Cc: geonetwork-users@lists.sourceforge.net
        <mailto:geonetwork-users@lists.sourceforge.net>
        > <mailto:geonetwork-users@lists.sourceforge.net
        <mailto:geonetwork-users@lists.sourceforge.net>>;
        > GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>
        > <mailto:GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>>
        > > Subject: Re: [GeoNetwork-users] [GeoNetwork-devel] HELP
        NEEDED..
        > additional metadata elements in GN (how to describe
        them)..
        > >
        > > hi Tania, Simon,
        > >
        > > if your schema is named iso19139.yourprofilename, then it is
        > assumed in the
        > > code that it is an extension of iso19139, is what I
        think. This
        > means that
        > > many of the XSLTs just use the templates in the XSLTs in the
        > iso19139
        > > schema present directory, unless you override them. Simon
        please
        > correct me
        > > if I'm wrong here ..
        > >
        > >> for example written on page 26 - Creating the extract
        XSLTs -
        > its written
        > >>
        > > we must create four xslts, but there is only three examples
        > > (extract-date-modified.xsl, extract-gml.xsl, and
        extract-uuid.xsl).
        > >
        > > You can just copy the same 4 xslts from the iso19139
        schema and
        > not modify
        > > them unless that's needed for your profile.
        > >
        > >> Also there is an example of the eml-gbif schema (p.31) and
        > there was
        > >>
        > > nothing written about eml-gbif schema before, which got
        me lost.
        > >
        > > Yes, it may be a bit unclear that in the middle of explaining
        > about the mcp
        > > profile, the doc starts referring to other profiles as well.
        > Probably to
        > > illustrate some points that could not be illustrated with the
        > mcp profile.
        > > In any case, like Simon said, check out the
        schemaprofiles SVN
        > directory,
        > > for several examples including that one.
        > >
        > > Some remarks about the documentation from my experience:
        > >
        > > (1) if you just create the profile in the /schemas directory
        > with the
        > > intention of having it automatically loaded on startup,
        you need
        > to include
        > > it too in WEB-INF/schemaplugin-uri-catalog.xml. Don't
        think this is
        > > documented and took me awhile to discover.
        > >
        > > (2) what's not clear to me is what forms of detection you
        can put in
        > > schema-ident.xml -- don't think all the mechanism is
        documented,
        > there are
        > > just some examples in the schemaprofiles SVN. For example
        can I
        > detect a
        > > schema by the simple presence of a particular namespace
        > declaration in the
        > > root element ? And what if several schemas match, how is it
        > decided which
        > > one wins ?
        > >
        > > (3) the doc describes first one method of doing it, and then
        > shows another
        > > way of doing it. This is a bit disconcerting if you
        follow the
        > doc as a
        > > step-by-step guide. Maybe it's better to introduce in the
        > beginning the two
        > > methods with links to them; or just describe only one of
        them,
        > certainly if
        > > one method is preferred over the other.
        > >
        > > If I think of anything else, I'll add to this thread.
        > >
        > > Thanks and kind regards,
        > > Heikki Doeleman
        > >
        > > On Mon, Dec 5, 2011 at 2:06 PM,<Simon.Pigot@anonymised.com>
        <mailto:Simon.Pigot@anonymised.com> wrote:
        > >
        > >> Hi Tania,
        > >>
        > >> The examples in the documentation are based on real schema
        > plugins in the
        > >> subversion repository and include references to a couple of
        > different
        > >> schemas so that you can get the idea of how to do the
        steps for
        > profiles of
        > >> ISO19115/19139 as well as non ISO schemas like eml-gbif.
        So if
        > an example
        > >> doesn't refer to the schema you were following you
        should still
        > be able to
        > >> find what you need by browsing the schema plugins
        directory at
        > >>
        >
        http://geonetwork.svn.sourceforge.net/viewvc/geonetwork/schemaPlugins/trunk
        > >>
        > >> That said, the docs are down on my list of things to review
        > before the 2.8
        > >> RC process starts as there have been some changes
        related to the
        > >> experimental ExtJS interface etc and so we can still work on
        > clarity as
        > >> well - I'll see if I can review them in the next couple of
        > days. Also if
        > >> others have comments and things they want to add to the doco
        > then maybe now
        > >> is a good time to do this.
        > >>
        > >> Cheers,
        > >> Simon
        > >> ________________________________________
        > >> From: Tania Firdausy [tania.puspita@anonymised.com
        <mailto:tania.puspita@anonymised.com>
        > <mailto:tania.puspita@anonymised.com
        <mailto:tania.puspita@anonymised.com>>]
        > >> Sent: Monday, 5 December 2011 7:58 PM
        > >> To: tropicano@anonymised.com <mailto:tropicano@anonymised.com>
        <mailto:tropicano@anonymised.com>
        > >> Cc: geonetwork-users@lists.sourceforge.net
        <mailto:geonetwork-users@lists.sourceforge.net>
        > <mailto:geonetwork-users@lists.sourceforge.net
        <mailto:geonetwork-users@lists.sourceforge.net>>;
        > >> GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>
        > <mailto:GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>>
        > >> Subject: Re: [GeoNetwork-devel] HELP NEEDED.. additional
        > metadata elements
        > >> in GN (how to describe them)..
        > >>
        > >> Hi Heikki,
        > >>
        > >> Thank you for your response. I tried to follow the schema
        > extension steps
        > >> but there were steps which were not clear for me. for
        example
        > written on
        > >> page 26 - Creating the extract XSLTs - its written we must
        > create four
        > >> xslts, but there is only three examples
        (extract-date-modified.xsl,
        > >> extract-gml.xsl, and extract-uuid.xsl). Also there is an
        > example of the
        > >> eml-gbif schema (p.31) and there was nothing written about
        > eml-gbif schema
        > >> before, which got me lost. also the locations of the
        example files
        > >> (labels.xml) were not in the specified directory, etc..
        and I
        > tried to
        > >> continue..but I didnt succeed.
        > >>
        > >> Maybe do you have a more comprehensive and clear
        documentation for
        > >> extending schemas in GN? it would be very nice if you could
        > share it with
        > >> me.
        > >>
        > >> Thank you very much in advance.
        > >>
        > >> Regards,
        > >>
        > >> Tania
        > >>
        > >> On Fri, Dec 2, 2011 at 6:17 PM,
        heikki<tropicano@anonymised.com <mailto:tropicano@anonymised.com>
        > <mailto:tropicano@anonymised.com
        <mailto:tropicano@anonymised.com>><mailto:
        > >> tropicano@anonymised.com <mailto:tropicano@anonymised.com>
        <mailto:tropicano@anonymised.com>>>
         wrote:
        > >> hi Tania,
        > >>
        > >> could you be more specific how you were not successful using
        > the schema
        > >> extension steps ? What did or did not work ?
        > >>
        > >> Kind regards
        > >> Heikki Doeleman
        > >>
        > >> On Fri, Dec 2, 2011 at 6:05 PM, Tania
        > Firdausy<tania.puspita@anonymised.com
        <mailto:tania.puspita@anonymised.com>
        <mailto:tania.puspita@anonymised.com>
        > >> <mailto:tania.puspita@anonymised.com
        <mailto:tania.puspita@anonymised.com>
        > <mailto:tania.puspita@anonymised.com
        <mailto:tania.puspita@anonymised.com>>>> wrote:
        > >>
        > >> Hi there,
        > >>
        > >> I have been working with geonetwork for a couple of
        months. My
        > institute
        > >> wants to implement a geocatalog service using GN but we have
        > additional
        > >> metadata elements which are not yet defined in GN. for
        example
        > we want to
        > >> include metadata which describes the pixel information
        of the image
        > >> (raster). I have been searching the wiki and forum, but
        seems
        > like the
        > >> steps defined there are not that clear (i have been
        following
        > the schema
        > >> extension steps described in GeoNetwork Developer
        Manual, Release
        > >> 2.7.0-SNAPSHOT but not successful). It would be nice if you
        > could give me
        > >> some clear hints or step by step advice on how to do this.
        > Thank you very
        > >> much in advance.
        > >>
        > >> With best regards,
        > >>
        > >> Tania P Firdausy
        > >>
        > >> GIS Software Engineer
        > >>
        > ------------------------------------------------------------------------------
        > >> 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
        > >> _______________________________________________
        > >> GeoNetwork-devel mailing list
        > >> GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>
        > <mailto:GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>><mailto:
        > >> GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>
        > <mailto:GeoNetwork-devel@lists.sourceforge.net
        <mailto:GeoNetwork-devel@lists.sourceforge.net>>>
        > >>
        https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
        > >> GeoNetwork OpenSource is maintained at
        > >> http://sourceforge.net/projects/geonetwork
        > >>
        > >
        > ------------------------------------------------------------------------------
        > > Cloud Services Checklist: Pricing and Packaging Optimization
        > > This white paper is intended to serve as a reference,
        checklist
        > and point of
        > > discussion for anyone considering optimizing the pricing and
        > packaging model
        > > of a cloud services business. Read Now!
        > > http://www.accelacomm.com/jaw/sfnl/114/51491232/
        > > _______________________________________________
        > > GeoNetwork-users mailing list
        > > GeoNetwork-users@lists.sourceforge.net
        <mailto:GeoNetwork-users@lists.sourceforge.net>
        > <mailto:GeoNetwork-users@lists.sourceforge.net
        <mailto:GeoNetwork-users@lists.sourceforge.net>>
        > > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
        > > GeoNetwork OpenSource is maintained at
        > http://sourceforge.net/projects/geonetwork
        > >
        >
        > ------------------------------------------------------------------------------
        > Cloud Services Checklist: Pricing and Packaging
        Optimization
        > This white paper is intended to serve as a reference,
        checklist
        > and point of
        > discussion for anyone considering optimizing the
        pricing and
        > packaging model
        > of a cloud services business. Read Now!
        > http://www.accelacomm.com/jaw/sfnl/114/51491232/
        > _______________________________________________
        > GeoNetwork-users mailing list
        > GeoNetwork-users@lists.sourceforge.net
        <mailto:GeoNetwork-users@lists.sourceforge.net>
        > <mailto:GeoNetwork-users@lists.sourceforge.net
        <mailto:GeoNetwork-users@lists.sourceforge.net>>
        > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
        > GeoNetwork OpenSource is maintained at
        > http://sourceforge.net/projects/geonetwork
        >

        ------------------------------------------------------------------------------
        Cloud Services Checklist: Pricing and Packaging Optimization
        This white paper is intended to serve as a reference,
        checklist and point of
        discussion for anyone considering optimizing the pricing and
        packaging model
        of a cloud services business. Read Now!
        http://www.accelacomm.com/jaw/sfnl/114/51491232/
        _______________________________________________
        GeoNetwork-users mailing list
        GeoNetwork-users@lists.sourceforge.net
        <mailto:GeoNetwork-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/geonetwork-users
        GeoNetwork OpenSource is maintained at
        http://sourceforge.net/projects/geonetwork

Hi Tania and Heikki,

I did the trunk installation. But in the last step, when we make a executable installers, it doesn´t work.
That is what appare:

C:\sources\gntrunk\installer>ant
Buildfile: C:\sources\gntrunk\installer\build.xml

setProperties:
     [mkdir] Created dir: C:\sources\gntrunk\.props

BUILD FAILED
C:\sources\gntrunk\installer\build.xml:53: Execute failed: java.io.IOException:
Cannot run program "svn": CreateProcess error=2, El sistema no puede hallar el a
rchivo especificado
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
         at java.lang.Runtime.exec(Runtime.java:615)
         at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
ute.java:862)
         at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
         at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
         at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
         at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
         at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:390)
         at org.apache.tools.ant.Target.performTasks(Target.java:411)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
         at org.apache.tools.ant.Main.runBuild(Main.java:809)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=2, El sistema no puede halla
r el archivo especificado
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(ProcessImpl.java:189)
         at java.lang.ProcessImpl.start(ProcessImpl.java:133)
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
         ... 24 more

Total time: 0 seconds

What is it wrong? I installed the ant, before.

Thanks!!
Regards,

Sara

I get the same error.
You can find the log attached:
http://osgeo-org.1803224.n2.nabble.com/file/n7081246/test.txt test.txt

regards, Chris

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/HELP-NEEDED-additional-metadata-elements-in-GN-how-to-describe-them-tp7055415p7081246.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.