You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nomen Nomanum <ge...@outlook.com> on 2013/05/23 12:55:43 UTC

Tawus AjaxUpload can't be built.

Hi!
I want to implement in my app mr. Siddiqi AjaxUpload library, however I can't do so cause I am constantly getting this error:

Dynamic properties are deprecated: http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html
Deprecated dynamic property: "tapestryVersion" on "root project 'tawus-master'", value: "5.3-rc-3-multipledb-SN...".
Deprecated dynamic property: "testngVersion" on "root project 'tawus-master'", value: "5.14.9".
Deprecated dynamic property: "nexusUsername" on "root project 'tawus-master'", value: "tawus".
Deprecated dynamic property: "nexusPassword" on "root project 'tawus-master'", value: "liridwm".
:tapz-core:compileJava UP-TO-DATE
:tapz-core:processResources UP-TO-DATE
:tapz-core:classes UP-TO-DATE
:tapz-core:jar UP-TO-DATE
:tapz-core:javadoc UP-TO-DATE
:tapz-core:javadocJar UP-TO-DATE
:tapz-core:sourcesJar UP-TO-DATE
:tapz-core:assemble UP-TO-DATE
:tapz-core:compileTestJava UP-TO-DATE
:tapz-core:processTestResources UP-TO-DATE
:tapz-core:testClasses UP-TO-DATE
:tapz-core:test

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':tapz-core:testRuntime'.
> Could not find group:org.apache.tapestry, module:tapestry-core, version:5.3-rc-3-multipledb-SNAPSHOT.
  Required by:
      com.googlecode.tawus:tapz-core:0.2-SNAPSHOT
> Could not find group:org.apache.tapestry, module:tapestry-test, version:5.3-rc-3-multipledb-SNAPSHOT.
  Required by:
      com.googlecode.tawus:tapz-core:0.2-SNAPSHOT

* Try:
Run with --info or --debug option to get more log output.

I have tried changing my build.gradle properties, by putting lattest module of Tap-core, and excluding test properties, however no effort. What may cause such behavior?
 		 	   		  

Re: Tawus AjaxUpload can't be built.

Posted by Dmitry Gusev <dm...@gmail.com>.
Try something like this:


    compile ('com.googlecode.tawus:tapz-core:0.2-SNAPSHOT')

    {

        exclude group: "org.apache.tapestry"

        exclude group: "org.apache.tapestry5"

    }


On Thu, May 23, 2013 at 3:24 PM, Lance Java <la...@googlemail.com>wrote:

> Looks like the library is referencing a nonexistent version of tapestry.
> I'm no Gradle guru but in maven, this can be resolved by specifying a
> different version of the tapestry dependencies in your pom and the "nearest
> resolution wins" strategy comes into play.
>
> If the equivalent doesn't work in Gradle, you should be able to explicitly
> exclude the transitive tapestry dependencies in the AjaxUpload dependency
> declaration.
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Re: Tawus AjaxUpload can't be built.

Posted by Lance Java <la...@googlemail.com>.
Looks like the library is referencing a nonexistent version of tapestry.
I'm no Gradle guru but in maven, this can be resolved by specifying a
different version of the tapestry dependencies in your pom and the "nearest
resolution wins" strategy comes into play.

If the equivalent doesn't work in Gradle, you should be able to explicitly
exclude the transitive tapestry dependencies in the AjaxUpload dependency
declaration.