« Return to Thread: Wicket-RAD 0.6 with Wicket 1.4-SNAPSHOT

Re: Wicket-RAD 0.6 with Wicket 1.4-SNAPSHOT

by wfaler :: Rate this Message:

Reply to Author | View in Thread

Thanks!

hbf wrote:
I've imported the subprojects (wicket-rad-core, etc.) into Eclipse and changed all pom.xml files to use wicket-1.4-SNAPSHOT, as you have suggested. Indeed only a few things needed fixing. The attached patch contains the details and here is a description of these changes:

1. wicket-contrib-tinymce: Only changes in pom.xml were needed. First of all, I changed the version from 1.3.5 to 1.4-SNAPSHOT (see 2. below). Then the change to depend on wicket-1.4-SNAPSHOT, and finally and most importantly for me, I set the compiler level:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>

Without this, I got a strange error (unknown symbol Component.add(Component [])) due to Java 1.4's lack of generics.

2. wicket-rad-core: Updated the Wicket version in file wicketVersion. Changed a few occurences of setModel () to setDefaultModel() in FeedbackLabel.java. Updated the pom.xml to depend on wicket-1.4-SNAPSHOT in stead of 1.3 and to depend on wicket-contrib-tinymce 1.4-SNAPSHOT (see above). Notice that wicketstuff-dojo is still 1.3.0-beta.

I hope this helps in migrating to SVN trunk to 1.4!

Cheers,
Kaspar

wicket-rad-patch-1.4-SNAPSHOT.txt 

 « Return to Thread: Wicket-RAD 0.6 with Wicket 1.4-SNAPSHOT