Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* is not currently on the server, so can not install #24

Closed
jdigger opened this issue Aug 3, 2015 · 2 comments
Closed

* is not currently on the server, so can not install #24

jdigger opened this issue Aug 3, 2015 · 2 comments

Comments

@jdigger
Copy link
Member

jdigger commented Aug 3, 2015

When trying to install Grabbit using v3.0.1

grabbit is not currently on the server, so can not install
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
    at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
    at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
    at com.twcable.gradle.cqpackage.CqPackageCommand.commandPackage(CqPackageCommand.groovy:115)
    at com.twcable.gradle.cqpackage.CqPackageHelper$_installPackage_closure3.doCall(CqPackageHelper.groovy:131)
    at com.twcable.gradle.cqpackage.CqPackageHelper$_installPackage_closure3.call(CqPackageHelper.groovy)
    at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1379)
    at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1372)
    at com.twcable.gradle.cqpackage.CqPackageHelper.installPackage(CqPackageHelper.groovy:130)
    at com.twcable.gradle.cqpackage.CqPackageHelper$installPackage$5.call(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    at com.twcable.gradle.cqpackage.CqPackagePlugin$_installPackage_closure6_closure19.doCall(CqPackagePlugin.groovy:197)
@jdigger jdigger added the bug label Aug 3, 2015
@jdigger jdigger added enhancement and removed bug labels Aug 15, 2015
@jdigger
Copy link
Member Author

jdigger commented Aug 15, 2015

The plugin is using the project name (project.name) as the key to know what to look for in the server's list of packages so it can get the "project id" needed to give the "install" command to Sling. The name used by Package Manager is stored in the package's META-INF/vault/properties.xml "name" value and in META-INF/vault/definition/.content.xml "name" value.

Need some way to decouple the project name and the Package Manager name to use.

@jdigger
Copy link
Member Author

jdigger commented Nov 17, 2015

Moved to TWCable/gradle-plugin-cq-package#8

@jdigger jdigger closed this as completed Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant