From: Tania F. <tan...@gm...> - 2011-12-09 08:37:21
|
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 <sar...@ic...> 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! :) > > Regards, > > Tania > > > On Wed, Dec 7, 2011 at 12:55 PM, Sara Soto <sar...@ic...> 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 <sar...@ic... >> > <mailto:sar...@ic...>> 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, Sim...@cs... escribió: >> > > Thanks Heikki - appreciate the detailed feedback - I'll include >> > it in the review. >> > > >> > > Cheers, >> > > Simon >> > > ________________________________________ >> > > From: heikki [tro...@gm... <mailto:tro...@gm...>] >> > > Sent: Wednesday, 7 December 2011 7:59 AM >> > > To: Pigot, Simon (CMAR, Hobart) >> > > Cc: geo...@li... >> > <mailto:geo...@li...>; >> > Geo...@li... >> > <mailto:Geo...@li...> >> > > 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,<Sim...@cs...><Sim...@cs...> 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 [tan...@gm... >> > <mailto:tan...@gm...>] >> > >> Sent: Monday, 5 December 2011 7:58 PM >> > >> To: tro...@gm... <mailto:tro...@gm...> >> > >> Cc: geo...@li... >> > <mailto:geo...@li...>; >> > >> Geo...@li... >> > <mailto:Geo...@li...> >> > >> 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<tro...@gm... >> > <mailto:tro...@gm...><mailto: >> > >> tro...@gm... <mailto:tro...@gm...>>> 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<tan...@gm... <mailto:tan...@gm...> >> > >> <mailto:tan...@gm... >> > <mailto:tan...@gm...>>> 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 >> > >> Geo...@li... >> > <mailto:Geo...@li...><mailto: >> > >> Geo...@li... >> > <mailto:Geo...@li...>> >> > >> 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 >> > > Geo...@li... >> > <mailto:Geo...@li...> >> > > 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 >> > Geo...@li... >> > <mailto:Geo...@li...> >> > 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 >> Geo...@li... >> https://lists.sourceforge.net/lists/listinfo/geonetwork-users >> GeoNetwork OpenSource is maintained at >> http://sourceforge.net/projects/geonetwork >> > > > |