You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kaspar Fischer <fi...@inf.ethz.ch> on 2008/08/19 12:32:37 UTC

Wicketstuff snapshots

When/how often are the Wicketstuff snapshots generated? I am using

   <dependency>
   	<groupId>org.wicketstuff</groupId>
   	<artifactId>wicketstuff-scriptaculous</artifactId>
   	<version>1.4-SNAPSHOT</version>
   </dependency>

in my pom.xml but get

  java.lang.NoSuchMethodError:  
org 
.wicketstuff 
.scriptaculous.dragdrop.SortableListView.getModelObject()Ljava/lang/ 
Object;

although the latest SortableListView.java does not contain the text
"getModelObject()".

I fear I lack some basic knowledge on Maven repos, so appologies
if I am asking something obvious.

Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicketstuff snapshots

Posted by Sven Meier <sv...@meiers.net>.
Hi all,

I've adjusted the offending line to the latest generics changes in 
wicket core.

wicketstuff-prototype is now building fine too.

Sven

francisco treacy schrieb:
> somehow it doesn't find prototype which is a dependency. you can
> install it manually.
>
> svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-prototype
> prototype
> cd prototype
> mvn install
>
> and retry building scriptaculous.
>
> now my problem is; is wicketstuff-scriptaculous broken?
>
> trunk won't compile:
>
> [INFO] Compilation failure
> C:\Documents and Settings\m\scriptaculous\src\java\org\wicketstuff\scriptaculous
> \dragdrop\SortableListView.java:[46,2] cannot find symbol
> symbol  : constructor SortableListView(java.lang.String,java.lang.String,org.apa
> che.wicket.model.IModel<java.util.List<? extends T>>)
> location: class org.wicketstuff.scriptaculous.dragdrop.SortableListView<T>
>
> C:\Documents and Settings\m\scriptaculous\src\java\org\wicketstuff\scriptaculous
> \dragdrop\SortableListView.java:[46,2] cannot find symbol
> symbol  : constructor SortableListView(java.lang.String,java.lang.String,org.apa
> che.wicket.model.IModel<java.util.List<? extends T>>)
> location: class org.wicketstuff.scriptaculous.dragdrop.SortableListView<T>
>
> i guess this is a problem with wicket generic support -- but what
> should i do to get scriptaculous to work?
>
> btw i tried with snapshots from 1.3 and 1.4 and nothing is working
> with wicket-1.4m3.
>
> (1.3)
> java.lang.NoSuchMethodError:
> org.wicketstuff.scriptaculous.dragdrop.SortableListView.add(Lorg/apache/wicket/behavior/IBehavior;)Lorg/apache/wicket/Component;
>      at org.wicketstuff.scriptaculous.dragdrop.SortableListView.<init>(SortableListView.java:54)
>      at org.wicketstuff.scriptaculous.dragdrop.SortableListView.<init>(SortableListView.java:46)
>
> same thing as kaspar with (1.4):
>
>  java.lang.NoSuchMethodError:
> org.wicketstuff.scriptaculous.dragdrop.SortableListView.getModelObject()Ljava/lang/Object;
>
> could you give me some hints on how to make this work?
>
> thanks!
>
> francisco
>
> On Tue, Aug 19, 2008 at 3:26 PM, Kaspar Fischer <fi...@inf.ethz.ch> wrote:
>   
>> I guess the first error (see below) is not relevant as other projects have
>> it, too.
>>
>> Regarding the second error: Does anybody have an idea why
>> wicketstuff-prototype
>> makes the build fail?
>>
>> I can see wicketstuff-prototype in the SVN repo but it is not listed on
>> http://wicketstuff.org/teamcity/overview.html -- is this normal?
>>
>> Being a Maven newbie, I am a lost here. Maybe the problem is that the
>> scriptaculous-pom.xml lists the repo as
>>
>>  <repository>
>>    <id>wicket-stuff-repository</id>
>>    <name>Wicket-Stuff Repository</name>
>>    <url>http://www.wicketstuff.org/maven/repository/</url>
>>  </repository>
>>
>> without a
>>
>>  <snapshots>
>>    <enabled>true</enabled>
>>  </snapshots>
>>
>> ? Too many trees in this forest for me ;-)
>>
>> On 19.08.2008, at 13:30, Kaspar Fischer wrote:
>>     
>>> Loggin into teamcity as guest, I see "Problems with VCS connection":
>>>
>>>  Failed for the root 'Wicket Stuff 1.4 repository' #3: Checking changes
>>> for checkout rule
>>> 'trunk/wicket-contrib-tinymce=>trunk/wicket-contrib-tinymce' failed with
>>> erorr: org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on
>>> '/svnroot/wicket-stuff/trunk/wicket-contrib-tinymce/src/java/wicket/contrib/tinymce/tiny_mce/langs/tw.js'
>>> svn: Network is unreachable
>>>
>>> and in addition a build error:
>>>
>>> [ERROR] BUILD ERROR
>>> [12:26:40]: [INFO]
>>> ------------------------------------------------------------------------
>>> [12:26:40]: [INFO] Failed to resolve artifact.
>>> [12:26:40]:
>>> [12:26:40]: Missing:
>>> [12:26:40]: ----------
>>> [12:26:40]: 1) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
>>> [12:26:40]:
>>> [12:26:40]: Try downloading the file manually from the project website.
>>> [12:26:40]:
>>> [12:26:40]: Then, install it using the command:
>>> [12:26:40]: mvn install:install-file -DgroupId=org.wicketstuff
>>> -DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT -Dpackaging=jar
>>> -Dfile=/path/to/file
>>> [12:26:40]:
>>> [12:26:40]: Alternatively, if you host your own repository you can deploy
>>> the file there:
>>> [12:26:40]: mvn deploy:deploy-file -DgroupId=org.wicketstuff
>>> -DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT -Dpackaging=jar
>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>> [12:26:40]:
>>> [12:26:40]: Path to dependency:
>>> [12:26:40]: 1) org.wicketstuff:wicketstuff-scriptaculous:jar:1.4-SNAPSHOT
>>> [12:26:40]: 2) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
>>> [12:26:40]:
>>> [12:26:40]: ----------
>>> [12:26:40]: 1 required artifact is missing.
>>> [12:26:40]:
>>> [12:26:40]: for artifact:
>>> [12:26:40]: org.wicketstuff:wicketstuff-scriptaculous:jar:1.4-SNAPSHOT
>>> [12:26:40]:
>>> [12:26:40]: from the specified remote repositories:
>>> [12:26:40]: central (http://repo1.maven.org/maven2),
>>> [12:26:40]: wicket-stuff-repository
>>> (http://www.wicketstuff.org/maven/repository/)
>>>       
>> Is the first error the one
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicketstuff snapshots

Posted by francisco treacy <fr...@gmail.com>.
somehow it doesn't find prototype which is a dependency. you can
install it manually.

svn co https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-prototype
prototype
cd prototype
mvn install

and retry building scriptaculous.

now my problem is; is wicketstuff-scriptaculous broken?

trunk won't compile:

[INFO] Compilation failure
C:\Documents and Settings\m\scriptaculous\src\java\org\wicketstuff\scriptaculous
\dragdrop\SortableListView.java:[46,2] cannot find symbol
symbol  : constructor SortableListView(java.lang.String,java.lang.String,org.apa
che.wicket.model.IModel<java.util.List<? extends T>>)
location: class org.wicketstuff.scriptaculous.dragdrop.SortableListView<T>

C:\Documents and Settings\m\scriptaculous\src\java\org\wicketstuff\scriptaculous
\dragdrop\SortableListView.java:[46,2] cannot find symbol
symbol  : constructor SortableListView(java.lang.String,java.lang.String,org.apa
che.wicket.model.IModel<java.util.List<? extends T>>)
location: class org.wicketstuff.scriptaculous.dragdrop.SortableListView<T>

i guess this is a problem with wicket generic support -- but what
should i do to get scriptaculous to work?

btw i tried with snapshots from 1.3 and 1.4 and nothing is working
with wicket-1.4m3.

(1.3)
java.lang.NoSuchMethodError:
org.wicketstuff.scriptaculous.dragdrop.SortableListView.add(Lorg/apache/wicket/behavior/IBehavior;)Lorg/apache/wicket/Component;
     at org.wicketstuff.scriptaculous.dragdrop.SortableListView.<init>(SortableListView.java:54)
     at org.wicketstuff.scriptaculous.dragdrop.SortableListView.<init>(SortableListView.java:46)

same thing as kaspar with (1.4):

 java.lang.NoSuchMethodError:
org.wicketstuff.scriptaculous.dragdrop.SortableListView.getModelObject()Ljava/lang/Object;

could you give me some hints on how to make this work?

thanks!

francisco

On Tue, Aug 19, 2008 at 3:26 PM, Kaspar Fischer <fi...@inf.ethz.ch> wrote:
> I guess the first error (see below) is not relevant as other projects have
> it, too.
>
> Regarding the second error: Does anybody have an idea why
> wicketstuff-prototype
> makes the build fail?
>
> I can see wicketstuff-prototype in the SVN repo but it is not listed on
> http://wicketstuff.org/teamcity/overview.html -- is this normal?
>
> Being a Maven newbie, I am a lost here. Maybe the problem is that the
> scriptaculous-pom.xml lists the repo as
>
>  <repository>
>    <id>wicket-stuff-repository</id>
>    <name>Wicket-Stuff Repository</name>
>    <url>http://www.wicketstuff.org/maven/repository/</url>
>  </repository>
>
> without a
>
>  <snapshots>
>    <enabled>true</enabled>
>  </snapshots>
>
> ? Too many trees in this forest for me ;-)
>
> On 19.08.2008, at 13:30, Kaspar Fischer wrote:
>>
>> Loggin into teamcity as guest, I see "Problems with VCS connection":
>>
>>  Failed for the root 'Wicket Stuff 1.4 repository' #3: Checking changes
>> for checkout rule
>> 'trunk/wicket-contrib-tinymce=>trunk/wicket-contrib-tinymce' failed with
>> erorr: org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on
>> '/svnroot/wicket-stuff/trunk/wicket-contrib-tinymce/src/java/wicket/contrib/tinymce/tiny_mce/langs/tw.js'
>> svn: Network is unreachable
>>
>> and in addition a build error:
>>
>> [ERROR] BUILD ERROR
>> [12:26:40]: [INFO]
>> ------------------------------------------------------------------------
>> [12:26:40]: [INFO] Failed to resolve artifact.
>> [12:26:40]:
>> [12:26:40]: Missing:
>> [12:26:40]: ----------
>> [12:26:40]: 1) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
>> [12:26:40]:
>> [12:26:40]: Try downloading the file manually from the project website.
>> [12:26:40]:
>> [12:26:40]: Then, install it using the command:
>> [12:26:40]: mvn install:install-file -DgroupId=org.wicketstuff
>> -DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT -Dpackaging=jar
>> -Dfile=/path/to/file
>> [12:26:40]:
>> [12:26:40]: Alternatively, if you host your own repository you can deploy
>> the file there:
>> [12:26:40]: mvn deploy:deploy-file -DgroupId=org.wicketstuff
>> -DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT -Dpackaging=jar
>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> [12:26:40]:
>> [12:26:40]: Path to dependency:
>> [12:26:40]: 1) org.wicketstuff:wicketstuff-scriptaculous:jar:1.4-SNAPSHOT
>> [12:26:40]: 2) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
>> [12:26:40]:
>> [12:26:40]: ----------
>> [12:26:40]: 1 required artifact is missing.
>> [12:26:40]:
>> [12:26:40]: for artifact:
>> [12:26:40]: org.wicketstuff:wicketstuff-scriptaculous:jar:1.4-SNAPSHOT
>> [12:26:40]:
>> [12:26:40]: from the specified remote repositories:
>> [12:26:40]: central (http://repo1.maven.org/maven2),
>> [12:26:40]: wicket-stuff-repository
>> (http://www.wicketstuff.org/maven/repository/)
>
> Is the first error the one
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicketstuff snapshots

Posted by Kaspar Fischer <fi...@inf.ethz.ch>.
I guess the first error (see below) is not relevant as other projects  
have
it, too.

Regarding the second error: Does anybody have an idea why wicketstuff- 
prototype
makes the build fail?

I can see wicketstuff-prototype in the SVN repo but it is not listed on
http://wicketstuff.org/teamcity/overview.html -- is this normal?

Being a Maven newbie, I am a lost here. Maybe the problem is that the
scriptaculous-pom.xml lists the repo as

   <repository>
     <id>wicket-stuff-repository</id>
     <name>Wicket-Stuff Repository</name>
     <url>http://www.wicketstuff.org/maven/repository/</url>
   </repository>

without a

   <snapshots>
     <enabled>true</enabled>
   </snapshots>

? Too many trees in this forest for me ;-)

On 19.08.2008, at 13:30, Kaspar Fischer wrote:
> Loggin into teamcity as guest, I see "Problems with VCS connection":
>
>  Failed for the root 'Wicket Stuff 1.4 repository' #3: Checking  
> changes for checkout rule 'trunk/wicket-contrib-tinymce=>trunk/ 
> wicket-contrib-tinymce' failed with erorr:  
> org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on  
> '/svnroot/wicket-stuff/trunk/wicket-contrib-tinymce/src/java/wicket/ 
> contrib/tinymce/tiny_mce/langs/tw.js' svn: Network is unreachable
>
> and in addition a build error:
>
> [ERROR] BUILD ERROR
> [12:26:40]: [INFO]  
> ------------------------------------------------------------------------
> [12:26:40]: [INFO] Failed to resolve artifact.
> [12:26:40]:
> [12:26:40]: Missing:
> [12:26:40]: ----------
> [12:26:40]: 1) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
> [12:26:40]:
> [12:26:40]: Try downloading the file manually from the project  
> website.
> [12:26:40]:
> [12:26:40]: Then, install it using the command:
> [12:26:40]: mvn install:install-file -DgroupId=org.wicketstuff - 
> DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT - 
> Dpackaging=jar -Dfile=/path/to/file
> [12:26:40]:
> [12:26:40]: Alternatively, if you host your own repository you can  
> deploy the file there:
> [12:26:40]: mvn deploy:deploy-file -DgroupId=org.wicketstuff - 
> DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT - 
> Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [12:26:40]:
> [12:26:40]: Path to dependency:
> [12:26:40]: 1) org.wicketstuff:wicketstuff-scriptaculous:jar:1.4- 
> SNAPSHOT
> [12:26:40]: 2) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
> [12:26:40]:
> [12:26:40]: ----------
> [12:26:40]: 1 required artifact is missing.
> [12:26:40]:
> [12:26:40]: for artifact:
> [12:26:40]: org.wicketstuff:wicketstuff-scriptaculous:jar:1.4-SNAPSHOT
> [12:26:40]:
> [12:26:40]: from the specified remote repositories:
> [12:26:40]: central (http://repo1.maven.org/maven2),
> [12:26:40]: wicket-stuff-repository (http://www.wicketstuff.org/maven/repository/ 
> )

Is the first error the one 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicketstuff snapshots

Posted by Kaspar Fischer <fi...@inf.ethz.ch>.
On 19.08.2008, at 12:45, Martijn Dashorst wrote:

> On Tue, Aug 19, 2008 at 12:32 PM, Kaspar Fischer  
> <fi...@inf.ethz.ch> wrote:
>> When/how often are the Wicketstuff snapshots generated? I am using
>
> Everytime the source code changes for the project, or when Wicket is
> updated (depending on the configuration of the projects in Teamcity
> (http://wicketstuff.org/teamcity).
>
> Martijn

I see. So this means something with the configuration is wrong (as the
JAR is outdate, see my previous mail).

Loggin into teamcity as guest, I see "Problems with VCS connection":

   Failed for the root 'Wicket Stuff 1.4 repository' #3: Checking  
changes for checkout rule 'trunk/wicket-contrib-tinymce=>trunk/wicket- 
contrib-tinymce' failed with erorr:  
org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on '/ 
svnroot/wicket-stuff/trunk/wicket-contrib-tinymce/src/java/wicket/ 
contrib/tinymce/tiny_mce/langs/tw.js' svn: Network is unreachable

and in addition a build error:

[ERROR] BUILD ERROR
[12:26:40]: [INFO]  
------------------------------------------------------------------------
[12:26:40]: [INFO] Failed to resolve artifact.
[12:26:40]:
[12:26:40]: Missing:
[12:26:40]: ----------
[12:26:40]: 1) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
[12:26:40]:
[12:26:40]: Try downloading the file manually from the project website.
[12:26:40]:
[12:26:40]: Then, install it using the command:
[12:26:40]: mvn install:install-file -DgroupId=org.wicketstuff - 
DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT - 
Dpackaging=jar -Dfile=/path/to/file
[12:26:40]:
[12:26:40]: Alternatively, if you host your own repository you can  
deploy the file there:
[12:26:40]: mvn deploy:deploy-file -DgroupId=org.wicketstuff - 
DartifactId=wicketstuff-prototype -Dversion=1.4-SNAPSHOT - 
Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[12:26:40]:
[12:26:40]: Path to dependency:
[12:26:40]: 1) org.wicketstuff:wicketstuff-scriptaculous:jar:1.4- 
SNAPSHOT
[12:26:40]: 2) org.wicketstuff:wicketstuff-prototype:jar:1.4-SNAPSHOT
[12:26:40]:
[12:26:40]: ----------
[12:26:40]: 1 required artifact is missing.
[12:26:40]:
[12:26:40]: for artifact:
[12:26:40]: org.wicketstuff:wicketstuff-scriptaculous:jar:1.4-SNAPSHOT
[12:26:40]:
[12:26:40]: from the specified remote repositories:
[12:26:40]: central (http://repo1.maven.org/maven2),
[12:26:40]: wicket-stuff-repository (http://www.wicketstuff.org/maven/repository/ 
)

(I get the same build error if I download the SVN code and do a "mvn  
install".)

Can this be fixed in some way?

Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicketstuff snapshots

Posted by Martijn Dashorst <ma...@gmail.com>.
On Tue, Aug 19, 2008 at 12:32 PM, Kaspar Fischer <fi...@inf.ethz.ch> wrote:
> When/how often are the Wicketstuff snapshots generated? I am using

Everytime the source code changes for the project, or when Wicket is
updated (depending on the configuration of the projects in Teamcity
(http://wicketstuff.org/teamcity).

Martijn

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org