Hi Sean,

to set up Magnolia+Eclipse+Maven you may want to have a look here in our wiki 
http://wiki.magnolia-cms.com/display/DEV/Eclipse


HTH,


Federico
  _____  

From: Sean Zheng [mailto:[email protected]]
To: [email protected]
Sent: Thu, 24 Jun 2010 01:32:23 +0200
Subject: Re: [magnolia-user] How to import data from SQL Server to repo


  
  Thanks Federico,
  
  For now I prefer standard scheduler since I am a newbie.
  
  I just check out the trunk of magnolia 4.3.2 and dms module in Eclipse. Now
  magnolia is a non java project. I have install maven 2.2.1 and it is
  working. But I failed to convert the project to dynamic web project:
  
  "mvn eclipse" is saying no eclipse goal,
  
  "mvn -P webapp eclipse:eclipse -Dwtpversion=1.5" is saying:
  
  Downloading:
  
http://repo.magnolia-cms.com/m2/org/apache/maven/scm/maven-scm-provider-hg/1.2/maven-scm-provider-hg-1.2.jar
  [INFO] Unable to find resource
  'org.apache.maven.scm:maven-scm-provider-hg:jar:1.2' in repository magnolia
  (http://repo.magnolia-cms.com/m2)
  Downloading:
  
http://maven.atlassian.com/public//org/apache/maven/scm/maven-scm-provider-hg/1.2/maven-scm-provider-hg-1.2.jar
  [INFO] Unable to find resource
  'org.apache.maven.scm:maven-scm-provider-hg:jar:1.2' in repository
  atlassian-public (http://maven.atlassian.com/public/)
  Downloading:
  
http://repo1.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-hg/1.2/maven-scm-provider-hg-1.2.jar
  
  [INFO] [buildnumber:create {execution: default}]
  [INFO] Checking for local modifications: skipped.
  [INFO] Updating project files from SCM: skipped.
  [INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
  [INFO] Working directory: C:\cnx\workspace\magnolia\magnolia-core
  Provider message:
  The svn command failed.
  Command output:
  'svn' is not recognized as an internal or external command,
  operable program or batch file.
  
  [INFO]
  ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO]
  ------------------------------------------------------------------------
  [INFO] Cannot get the revision information from the scm repository :
  Error!
  
  [INFO]
  ------------------------------------------------------------------------
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  ------------------------------------------------------------------------
  [INFO] Total time: 9 minutes 11 seconds
  [INFO] Finished at: Wed Jun 23 16:05:32 PDT 2010
  [INFO] Final Memory: 35M/63M
  [INFO]
  ------------------------------------------------------------------------
  
  Could you help me with this?
  
  cheers
  
  Sean
  
  
  
  
  Federico Grilli-3 wrote:
  > 
  > 
  > Hi,
  > 
  > if you need more info about the Groovy scheduler module, have a look here
  > http://wiki.magnolia-cms.com/display/WIKI/Magnolia+Groovy+Scheduler.  I
  > wrote it more than one year ago and it was only tested on magnolia 3.6.x. 
  > The current release contains a minor glitch that I was too lazy to fix
  > http://code.google.com/p/mgnlgroovy-scheduler/issues/detail?id=3. In sum,
  > you'd better checkout the code, fix it and recompile it yourself ;-)
  > 
  > Cheers,
  > 
  > Federico
  >  
  > 
  > On Jun 22, 2010, at 8:42 PM, Sean Zheng wrote:
  > 
  >> 
  >> 
  >> Hi Rakesh,
  >> 
  >> That is really what I am looking for. I need use Groovy Scheduler to run
  >> Groovy scripts to import data from business system(based on SQL Server),
  >> then publish the data by Magnolia.
  >> 
  >> But I cannot find any further instructions about this. Could you please
  >> give
  >> me some clue?
  >> 
  >> Thanks
  >> 
  >> Sean
  >> 
  >> 
  >> 
  >> Rakesh Vidyadharan wrote:
  >>> 
  >>> I am not sure if there is anything out of the box, but I wrote a bunch
  >>> of
  >>> groovy scripts that imported the data I wanted from SQL Server into a
  >>> standard JackRabbit repository.  I then exported the repository, and
  >>> made
  >>> that part of my module bootstrap sequence to import all the content. We
  >>> also have a bunch of updater groovy scripts that are run via the
  >>> Magnolia
  >>> scheduler that update the initial content with updated content from the
  >>> backend database.
  >>> 
  >>> Rakesh
  >>> 
  >>> 
  >>> On 22/06/2010 12:30, "Sean Zheng" <[email protected]> wrote:
  >>> 
  >>> 
  >>> 
  >>> 
  >>> Hi All,
  >>> 
  >>> I am new to Magnolia and start using it in my project. I cannot find a
  >>> step-by-step instructions about how to import SQL Server data into
  >>> Magnolia(I am working in Eclipse). Who kindly let me know where I can
  >>> find
  >>> this manual? or which module I should review?
  >>> 
  >>> Thanks in advance.
  >>> 
  >>> Sean
  >>> --
  >>> View this message in context:
  >>> 
http://old.nabble.com/How-to-import-data-from-SQL-Server-to-repo-tp28962840p28962840.html
  >>> Sent from the Magnolia - User mailing list archive at Nabble.com.
  >>> 
  >>> 
  >>> ----------------------------------------------------------------
  >>> For list details see
  >>> http://www.magnolia-cms.com/home/community/mailing-lists.html
  >>> To unsubscribe, E-mail to: <[email protected]>
  >>> ----------------------------------------------------------------
  >>> 
  >>> 
  >>> 
  >>> ----------------------------------------------------------------
  >>> For list details see
  >>> http://www.magnolia-cms.com/home/community/mailing-lists.html
  >>> To unsubscribe, E-mail to: <[email protected]>
  >>> ----------------------------------------------------------------
  >>> 
  >>> 
  >>> 
  >> 
  >> -- 
  >> View this message in context:
  >> 
http://old.nabble.com/How-to-import-data-from-SQL-Server-to-repo-tp28962840p28963561.html
  >> Sent from the Magnolia - User mailing list archive at Nabble.com.
  >> 
  >> 
  >> ----------------------------------------------------------------
  >> For list details see
  >> http://www.magnolia-cms.com/home/community/mailing-lists.html
  >> To unsubscribe, E-mail to: <[email protected]>
  >> ----------------------------------------------------------------
  >> 
  > 
  > 
  > Join us at Magnolia Conference 2010:
  > http://www.magnolia-cms.com/conference
  > 
  > --------------------------------------
  > 
  > Federico Grilli
  > Senior Software Engineer
  > Magnolia International Ltd.
  > 
  > Phone   +41 61 228 9000
  > Fax     +41 61 228 9001
  > 
  > http://www.magnolia-cms.com
  > 
  > --------------------------------------
  > 
  > Magnolia®  - Simple Open-Source Content Management
  > 
  > --------------------------------------
  > 
  > 
  > 
  > ----------------------------------------------------------------
  > For list details see
  > http://www.magnolia-cms.com/home/community/mailing-lists.html
  > To unsubscribe, E-mail to: <[email protected]>
  > ----------------------------------------------------------------
  > 
  > 
  > 
  
  -- 
  View this message in context: 
http://old.nabble.com/How-to-import-data-from-SQL-Server-to-repo-tp28962840p28977638.html
  Sent from the Magnolia - User mailing list archive at Nabble.com.
  
  
  ----------------------------------------------------------------
  For list details see
  http://www.magnolia-cms.com/home/community/mailing-lists.html
  To unsubscribe, E-mail to: <[email protected]>
  ----------------------------------------------------------------
    
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to