This sounds like a good idea

Opinions?

Jacques
  ----- Original Message ----- 
  From: Ashish Vijaywargiya 
  To: dev@ofbiz.apache.org 
  Cc: jler...@apache.org 
  Sent: Sunday, April 15, 2012 7:36 PM
  Subject: Re: svn commit: r1326300 - /ofbiz/trunk/.catalog.xml


  My vote will be to rename this .catalog file to .xmlcatalog.

  References: 
  
http://www.eclipse.org/webtools/community/tutorials/XMLCatalog/XMLCatalogTutorial.html
  
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.wst.xmleditor.doc.user/topics/txmlcat.html

  Thanks!

--
Kind Regards
Ashish Vijaywargiya
HotWax Media - est. 1997

  On Sunday 15 April 2012 04:22 PM, jler...@apache.org wrote: 
Author: jleroux
Date: Sun Apr 15 10:52:45 2012
New Revision: 1326300

URL: http://svn.apache.org/viewvc?rev=1326300&view=rev
Log:
"catalog of the XML schema of Ofbiz for Eclipse" 
https://issues.apache.org/jira/browse/OFBIZ-4760 by Francis ANDRE

This is the catalog of the XML schema of OFBiz for Eclipse. Just import it and 
this will avoid Eclipse to go to the web for checking the xml files against 
their schema.

jleroux: I decided to commit, because it's a very little file and add some 
interesting help to Eclipse devs. For instance when disconnected and also makes 
sure you use the schema version corresponding to checked out code.
I added a comment about its use in the file itself and a link to wiki

Added:
    ofbiz/trunk/.catalog.xml   (with props)

Added: ofbiz/trunk/.catalog.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/.catalog.xml?rev=1326300&view=auto
==============================================================================
--- ofbiz/trunk/.catalog.xml (added)
+++ ofbiz/trunk/.catalog.xml Sun Apr 15 10:52:45 2012
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- This is the catalog of OFBiz XML schemas for Eclipse. Just import it and 
this will avoid Eclipse to go to the web for checking the xml files against 
their schema. 
+     More at 
https://cwiki.apache.org/confluence/display/OFBIZ/Eclipse+Tips#EclipseTips-UsinglocalXSD'swhennointernetconnectionisavailable
+-->
+<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/base/dtd/base-catalog.xml"/>
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/datafile/dtd/datafiles-catalog.xml"/>
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/entity/dtd/entity-catalog.xml"/>
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/minilang/dtd/minilang-catalog.xml"/>
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/service/dtd/service-catalog.xml"/>
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/testtools/dtd/testtools-catalog.xml"/>
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/webapp/dtd/webapp-catalog.xml"/>
+  <nextCatalog 
catalog="platform:/resource/ofbiz/framework/widget/dtd/widget-catalog.xml"/>
+</catalog>

Propchange: ofbiz/trunk/.catalog.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/.catalog.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/.catalog.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to