How to compile a component for both Wicket 1.3 and 1.4?

2009-11-18 Thread Matt Brictson
Hello, I am writing a Wicket component that I would like to use in two different Wicket applications. One application is using Wicket 1.4.3, and the other is a legacy application using Wicket 1.3.6. Unfortunately upgrading this legacy app to 1.4 is not an option. I'm using maven for my build

Re: How to compile a component for both Wicket 1.3 and 1.4?

2009-11-18 Thread mbrictson
If anyone is interested, here's how I solved the problem of building a Wicket 1.3-compatible JAR and 1.4-compatible JAR from the same codebase. First I tweaked my Wicket code so that it could compile under 1.3 and 1.4. Basically, I started with 1.4 code, then removed generics, and avoided using