I got it working by using the following
<build>
<plugins>
<!-- Generate JAXB Java source files from an XSD file -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<goals>
<goal>xjc</goal>
</goals>
</execution>
</executions>
<configuration>
<packageName>my.jaxb.data</packageName>
<outputDirectory>${project.build.directory}/generated-source/jaxb</outputDirectory>
<schemaDirectory>${basedir}/src/main/resources</schemaDirectory>
<schemaFiles>mydata.xsd</schemaFiles>
</configuration>
</plugin>
<!-- Build helper plugin adds the sources generated by the JAXB to the compile path -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>process-sources</phase>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/jaxb</source>
</sources>
</configuration>
<goals>
<goal>add-source</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
My personal journal on software development and practical programming.
Monday, March 12, 2012
Saturday, March 10, 2012
First snapshot of TimeMachine scheduler is ready
The first snapshot of TimeMachine, a new open source Java Scheduler library, is aviable to download. Check it out at https://bitbucket.org/saltnlight5/timemachine-scheduler/downloads and let me know what you think!
Wednesday, February 29, 2012
TimeMachine Scheduler
Wanna contribute to an opensource project? Check out https://bitbucket.org/saltnlight5/timemachine-scheduler/wiki/Home
Saturday, February 18, 2012
Working on Quartz Queue Job Feature
My job at Bank of New York Mellon has been keeping me fairly busy lately. It's hard to juggle with Church, a family, a full time job, and time for open source projects. But it seems God has blessed me with not many skills nor hobbies other than programming, which I enjoy the most. So I tend to endup writing more code on weekend when the kids are asleep!
I haven't able to put much time into MySchedule other than fixed couple of urgent issues recently. If you are using this app, you should get the latest download now.
However, I did spent time helping out on Quartz development on their next major feature: Queue Jobs. I got most of the initial ground work done. I need to think more about how the concurrent issues with database row locking etc. This feature would allow you to add jobs into a queue structure that the quartz system will process without a trigger (meaning they are process immediatly.) These queue jobs would have a priority value that sorted by the queue as they are processed. We hope this feature would give some users to use the Quartz system to process jobs more effectively.
More of these to come in the future, so stay tuned.
I haven't able to put much time into MySchedule other than fixed couple of urgent issues recently. If you are using this app, you should get the latest download now.
However, I did spent time helping out on Quartz development on their next major feature: Queue Jobs. I got most of the initial ground work done. I need to think more about how the concurrent issues with database row locking etc. This feature would allow you to add jobs into a queue structure that the quartz system will process without a trigger (meaning they are process immediatly.) These queue jobs would have a priority value that sorted by the queue as they are processed. We hope this feature would give some users to use the Quartz system to process jobs more effectively.
More of these to come in the future, so stay tuned.
Wednesday, December 28, 2011
MySchedule-2.4.0 release
I have released version 2.4.0 of MySchedule project, and you may get it here: http://code.google.com/p/myschedule/downloads/list
In this release, I have added these:
* Quartz is running on Heroku! Check it out: http://stormy-flower-6956.herokuapp.com
* Added JdbcSchedulerHistoryPlugin that will record job history in DB.
* Added Cron Tool expression validation on web page.
* Added AppConfig configurable by a Properties file.
* Upgraded to quartz-2.1.1
* Fixed trigger display page.
Enjoy!
In this release, I have added these:
* Quartz is running on Heroku! Check it out: http://stormy-flower-6956.herokuapp.com
* Added JdbcSchedulerHistoryPlugin that will record job history in DB.
* Added Cron Tool expression validation on web page.
* Added AppConfig configurable by a Properties file.
* Upgraded to quartz-2.1.1
* Fixed trigger display page.
Enjoy!
Sunday, December 11, 2011
I want to learn Fantom
I have been learning a new programming language in every few years or so. I started with C++ since my high school year, and since then, I have learned to use Perl, Java, Python, Groovy, Ruby, and Scala. Java has been the longest run among them, because most of my employers are requesting and willing to pay for it. Despite having a full time job working on Java, I still have the urge to learn something new. A new language give me new perspectives in viewing software development with different solutions. Each language has its distinct features and design goals toward some principles. Just as any tool, they are created to meet some unsatifying style, solutions, or new features in other existing programming languanges.
Recently I have stumbled upon another language that I think it worth my time to study it: it's called Fantom. Check it out at http://fantom.org
Recently I have stumbled upon another language that I think it worth my time to study it: it's called Fantom. Check it out at http://fantom.org
Monday, November 7, 2011
MySchedule-2.3.0 release is out
MySchedule is a web application that let you manage and run Quartz in a servlet container. You can get Quartz running and start exploring by simply dropping the war file into a web server such as Tomcat.
Here is a short list of what's in this release:
* Use myschedule-2.3.0 to manage Quartz-2.x
* Use myschedule-1.6.0 to manage Quartz-1.8.x
* Removed all unnecessary dependencies, and making the war file tiny (~ 3MB)
* Support any Java ScriptEngine, and many examples are provided for you to script and manage the scheduler.
* There is an independent quartz-extra jar that you may use outside of webapp, and it has been backported consistently to 1.x version as well.
* Documentation is available on the project site.
Try it out and let me know what you think.
http://code.google.com/p/myschedule
Enjoy!
Here is a short list of what's in this release:
* Use myschedule-2.3.0 to manage Quartz-2.x
* Use myschedule-1.6.0 to manage Quartz-1.8.x
* Removed all unnecessary dependencies, and making the war file tiny (~ 3MB)
* Support any Java ScriptEngine, and many examples are provided for you to script and manage the scheduler.
* There is an independent quartz-extra jar that you may use outside of webapp, and it has been backported consistently to 1.x version as well.
* Documentation is available on the project site.
Try it out and let me know what you think.
http://code.google.com/p/myschedule
Enjoy!
Subscribe to:
Posts (Atom)