If that is the case, I don't see why it's giving that error.

djencks wrote:
> 
> 
> On Jun 27, 2008, at 11:06 AM, jklcom99 wrote:
> 
>>
>> And why is it trying to access org.apache.xbean.naming.reference.
>> instead of org.apache.geronimo.naming.reference.* which is what is  
>> imported
>> in QuartzJobFactory.java
> 
> The Geronimo reference classes extend the xbean reference class.
> 
> thanks
> david jencks
> 
>>
>>
>>
>> manucet wrote:
>>>
>>> Hi,
>>>
>>> FYI I got the following error too when i tried to build this.
>>>
>>> [INFO] Failed to configure plugin parameters for:
>>> org.codehaus.mojo:xmlbeans-mav
>>> en-plugin:2.3.1
>>>
>>>   (found static expression: 'geronimo-quartz-0.2.xsd' which may act  
>>> as a
>>> defau
>>> lt value).
>>>
>>> Cause: Cannot assign configuration entry 'sourceSchemas' to  
>>> 'interface
>>> java.util
>>> .List' from 'geronimo-quartz-0.2.xsd', which is of type class
>>> java.lang.String
>>>
>>> It was because of a wrong configuration entry in the pom
>>> base/deployer/pom.xml. Modify
>>>
>>> <sourceSchemas>geronimo-quartz-0.2.xsd</sourceSchemas>
>>>
>>> to
>>>
>>> <sourceSchemas>
>>>    <sourceSchema>geronimo-quartz-0.2.xsd</sourceSchema>
>>> </sourceSchemas>
>>>
>>> and it will build. Good luck with the porting
>>>
>>> regards
>>> Manu
>>>
>>> On Fri, Jun 27, 2008 at 3:51 AM, David Jencks  
>>> <[EMAIL PROTECTED]>
>>> wrote:
>>>>
>>>> On Jun 26, 2008, at 1:20 PM, jklcom99 wrote:
>>>>
>>>>>
>>>>> Hi David,
>>>>>
>>>>> After reading up on the documents you suggested.  I attempted to  
>>>>> get
>>>>> quartz
>>>>> to build with G2.1.2-SNAPSHOT.  I'm getting compile error: (even  
>>>>> I have
>>>>> included geronimo-naming as a dependency).  Can you please point  
>>>>> out
>>>>> what
>>>>> I'm doing wrong and missing?  Also getting error when tried to  
>>>>> build
>>>>> eclipse
>>>>> project, see below.
>>>>>
>>>>> Thank you
>>>>>
>>>>> Thu 06/26/2008 15:59:38.32
>>>>> C:\downloads\apache\qplugin2.0>mvn compile
>>>>> [INFO] Scanning for projects...
>>>>> [INFO] Reactor build order:
>>>>> [INFO]   Quartz Plugin for Geronimo
>>>>> [INFO]   Quartz Scheduler for Geronimo
>>>>> [INFO]   Geronimo Quartz Deployer
>>>>> [INFO]   Quartz Admin Console for Geronimo
>>>>> [INFO]   Quartz Plugins :: Geronimo Dependencies
>>>>> [INFO]   Quartz Plugins for Geronimo
>>>>> [INFO]   Geronimo Plugin :: Quartz Scheduler
>>>>> [INFO]   Geronimo Plugin :: Quartz Deployer
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building Quartz Plugin for Geronimo
>>>>> [INFO]    task-segment: [compile]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] No goals needed for project - skipping
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building Quartz Scheduler for Geronimo
>>>>> [INFO]    task-segment: [compile]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] [resources:resources]
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-kernel/2.1.2-
>>>>> SNAPSHOT/geronimo-kernel-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-naming/2.1.2-
>>>>> SNAPSHOT/geronimo-naming-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-deployment/2.
>>>>> 1.2-SNAPSHOT/geronimo-deployment-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-system/2.1.2-
>>>>> SNAPSHOT/geronimo-system-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//opensymphony/quartz/1.5.2/quart
>>>>> z-1.5.2.pom
>>>>> Downloading:
>>>>> http://repo1.maven.org/maven2/opensymphony/quartz/1.5.2/quartz-1.5.
>>>>> 2.pom
>>>>> [INFO] [compiler:compile]
>>>>> [INFO] Compiling 5 source files to
>>>>> C:\downloads\apache\qplugin2.0\base\scheduler
>>>>> \target\classes
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Compilation failure
>>>>>
>>>>>
>>>>> C:\downloads\apache\qplugin2.0\base\scheduler\src\java\org 
>>>>> \gplugins\quartz\Quart
>>>>> zJobFactory.java:[71,42] cannot access
>>>>> org.apache.xbean.naming.reference.SimpleR
>>>>> eference
>>>>> class file for org.apache.xbean.naming.reference.SimpleReference  
>>>>> not
>>>>> found
>>>>>      ConfigurationAwareReference ref =  
>>>>> (ConfigurationAwareReference)
>>>>> value;
>>>>>
>>>>>
>>>>> C:\downloads\apache\qplugin2.0\base\scheduler\src\java\org 
>>>>> \gplugins\quartz\Quart
>>>>> zJobFactory.java:[77,33] cannot find symbol
>>>>> symbol  : method getContent()
>>>>> location: class
>>>>> org.apache.geronimo.naming.reference.ConfigurationAwareReference
>>>>>
>>>>
>>>> I don't see any good reason for this error unless somehow geronimo- 
>>>> naming
>>>> is
>>>> included as a <scope>provided</scope> dependency.  Maybe you can  
>>>> get the
>>>> build to work by including
>>>>
>>>>       <dependency>
>>>>           <groupId>org.apache.xbean</groupId>
>>>>           <artifactId>xbean-naming</artifactId>
>>>>           <version>3.3</version>
>>>>       </dependency>
>>>>
>>>>>
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 3 seconds
>>>>> [INFO] Finished at: Thu Jun 26 16:02:01 EDT 2008
>>>>> [INFO] Final Memory: 6M/11M
>>>>>
>>>>>
>>>>> When I tried to create an Eclipse project, I'm getting this error:
>>>>>
>>>>> [INFO]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building Geronimo Quartz Deployer
>>>>> [INFO]    task-segment: [eclipse:eclipse]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Preparing eclipse:eclipse
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-service-build
>>>>> er/2.1.2-SNAPSHOT/geronimo-service-builder-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-common/2.1.2-
>>>>> SNAPSHOT/geronimo-common-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-naming-builde
>>>>> r/2.1.2-SNAPSHOT/geronimo-naming-builder-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-j2ee-builder/
>>>>> 2.1.2-SNAPSHOT/geronimo-j2ee-builder-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-j2ee-schema/2
>>>>> .1.2-SNAPSHOT/geronimo-j2ee-schema-2.1.2-SNAPSHOT.pom
>>>>> Downloading:
>>>>> http://people.apache.org/~ammulder//geronimo/geronimo-j2ee/2.1.2-SN
>>>>> APSHOT/geronimo-j2ee-2.1.2-SNAPSHOT.pom
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Failed to configure plugin parameters for:
>>>>> org.codehaus.mojo:xmlbeans-mav
>>>>> en-plugin:2.3.1
>>>>>
>>>>>  (found static expression: 'geronimo-quartz-0.2.xsd' which may  
>>>>> act as a
>>>>> defau
>>>>> lt value).
>>>>>
>>>>>
>>>>> Cause: Cannot assign configuration entry 'sourceSchemas' to  
>>>>> 'interface
>>>>> java.util
>>>>> .List' from 'geronimo-quartz-0.2.xsd', which is of type class
>>>>> java.lang.String
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 4 seconds
>>>>> [INFO] Finished at: Thu Jun 26 16:14:55 EDT 2008
>>>>> [INFO] Final Memory: 6M/12M
>>>>
>>>> I'm not sure what's going on with this, but it might be due to the
>>>> maven-1
>>>> like directory layout.  I spent a couple minutes and moved  
>>>> everything I
>>>> could find into the standard m2 directories.  I did not update the  
>>>> poms
>>>> --
>>>> they must have configuration that sets src, resource, and test
>>>> directories
>>>> to the non-defaults; this now needs to be removed.  The xmlbeans  
>>>> plugin
>>>> config ought to look like this:
>>>>
>>>>           <plugin>
>>>>               <groupId>org.codehaus.mojo</groupId>
>>>>               <artifactId>xmlbeans-maven-plugin</artifactId>
>>>>           </plugin>
>>>> (possibly with a version)
>>>>
>>>> It's not too hard to patch files in place but its pretty difficult  
>>>> to svn
>>>> mv
>>>> files via a patch, so hopefully this change will make what you are
>>>> working
>>>> on easier.
>>>>
>>>> If you've modified any source or plan files locally you may want  
>>>> to copy
>>>> your project over before svn up.  I'm not sure what happens when a  
>>>> file
>>>> you
>>>> have modified is removed by svn up.
>>>>
>>>> hope this helps
>>>> david jencks
>>>>
>>>>>
>>>>>
>>>>>
>>>>> djencks wrote:
>>>>>>
>>>>>>
>>>>>> On Jun 23, 2008, at 12:06 PM, jklcom99 wrote:
>>>>>>
>>>>>>>
>>>>>>> Ok, can you show me the steps and what is involved to create a  
>>>>>>> plugin?
>>>>>>
>>>>>> There are lots of examples of plugins to compare with: the  
>>>>>> directory
>>>>>> and roller plugins in plugins, the contents of the main server  
>>>>>> build
>>>>>> plugins directory, and the samples.
>>>>>>
>>>>>> I glanced really quickly at the quartz stuff and it looks like:
>>>>>> 1. update to current geronimo stuff, such as version 2.1.1.  Use
>>>>>> org.apache.geronimo.genesis/project-config/1.4/pom as the parent  
>>>>>> (I
>>>>>> may get a later version out soon, we'll see).  Prune unneeded  
>>>>>> stuff
>>>>>> out of the build such as repositories.  Basically get the build to
>>>>>> work.
>>>>>> 2. in geronimo 2.1 and later, the geronimo-plugin.xml is  
>>>>>> generated by
>>>>>> the car-maven-plugin.  The format has also changed a lot.  So, you
>>>>>> should figure out what bits of the geronimo-plugin.xml are still
>>>>>> relevant and correct and get them into the appropriate part of the
>>>>>> pom.xml.
>>>>>>
>>>>>> There's some documentation here:
>>>>>> http://cwiki.apache.org/GMOxDOC21/plugin-infrastructure.html
>>>>>>
>>>>>> http://cwiki.apache.org/GMOxDOC21/constructing-a-special-purpose-server-using-maven.html
>>>>>>
>>>>>> Let me know if this is starting you off at the wrong level.
>>>>>>
>>>>>> thanks
>>>>>> david jencks
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> djencks wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> On Jun 19, 2008, at 2:32 PM, jklcom99 wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Can some one tell me if the quartz plugin from this link
>>>>>>>>>
>>>>>>>>> http://www.archivum.info/[EMAIL PROTECTED]/2008-05/
>>>>>>>>> msg00505.html is
>>>>>>>>> applicable for Geronimo 2.1?
>>>>>>>>
>>>>>>>> Definitely not.  However it should not be too hard to update.  I
>>>>>>>> opened https://issues.apache.org/jira/browse/GERONIMO-4140 to  
>>>>>>>> track
>>>>>>>> progress on this.  I probably won't have time myself to get to  
>>>>>>>> this
>>>>>>>> soon but would be happy to give advice if you (or someone  
>>>>>>>> else) would
>>>>>>>> like to work on it.
>>>>>>>>
>>>>>>>> thanks
>>>>>>>> david jencks
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Thank you
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Kevan Miller wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Jan 16, 2008, at 5:27 PM, Christian Malolepszy wrote:
>>>>>>>>>>
>>>>>>>>>>> Helo all,
>>>>>>>>>>>
>>>>>>>>>>> is anyone working on a quartz plugin for geronimo 2?
>>>>>>>>>>> I neet the features of quartz to migrate my projects to  
>>>>>>>>>>> geronimo2.
>>>>>>>>>>
>>>>>>>>>> Hi Christian,
>>>>>>>>>> I don't recall any quartz plugin work for geronimo 2.0, only  
>>>>>>>>>> 1.1.
>>>>>>>>>> Could be mistaken.
>>>>>>>>>>
>>>>>>>>>> Possible that with a little interest that somebody will have a
>>>>>>>>>> look...
>>>>>>>>>>
>>>>>>>>>> --kevan
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>>
>>>>>>>>> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18018668.html
>>>>>>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>>>>>>> Nabble.com.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>>
>>>>>>> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18076097.html
>>>>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>>>>> Nabble.com.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18142347.html
>>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>>> Nabble.com.
>>>>>
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18160664.html
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/geronimo-v2-quartz-plugin-tp14897501s134p18162045.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to