0 Replies Latest reply on Nov 28, 2016 7:26 AM by smetla

    supporting the wildcard annotations?

    smetla

      Hi All

       

      We are in the process of upgrading our jive instance from version 6 to version 8.we are seeing the compilation errors related to @depends wildcard annotations.

       

      Are we supporting the wildcard annotations?.

       

      2016-11-25 12:18:28,783 [ForkJoinPool.commonPool-worker-4] [::] ERROR com.jivesoftware.community.web.soy.TemplateDependsAnnotationResourceParser - No template matching the pattern, jive.uiExtensions.*, has been registered:

      * @depends template=jive.uiExtensions.* scope=client

      2016-11-25 12:18:28,994 [ForkJoinPool.commonPool-worker-1] [::] ERROR com.jivesoftware.community.web.soy.TemplateDependsAnnotationResourceParser - No template matching the pattern, jive.uiExtensions.*, has been registered:

      * @depends template=jive.uiExtensions.* scope=client

      2016-11-25 12:18:30,891 [ForkJoinPool.commonPool-worker-1] [::] ERROR com.jivesoftware.community.web.soy.ResourceGraph - Failed to get dependencies from path /soy/content/ballots/create.soy

      com.jivesoftware.util.IllegalUseOfDependsWildcardException: Illegal use of @depends wildcard annotation was seen in /soy/content/ballots/create.soy. Please correct this before continuing with Soy dependency graph compilation.

        at com.jivesoftware.community.web.soy.AllowDependsWildcardParser.resourcesFor(AllowDependsWildcardParser.java:39)

        at com.jivesoftware.community.web.soy.ResourceGraph.getShallowDependencies(ResourceGraph.java:158)

        at com.jivesoftware.community.web.soy.ResourceGraph.buildDependencies(ResourceGraph.java:97)

        at com.jivesoftware.community.web.soy.ResourceGraph.buildGraph(ResourceGraph.java:81)

        at com.jivesoftware.community.web.soy.ResourceGraph.buildDependencyMap(ResourceGraph.java:67)

        at com.jivesoftware.community.web.soy.ResourceGraph.update(ResourceGraph.java:56)

        at com.jivesoftware.community.web.soy.SoyResourceParser.buildDependencies(SoyResourceParser.java:144)

        at com.jivesoftware.community.web.soy.SoyResourceParser.getDependencies(SoyResourceParser.java:91)

        at com.jivesoftware.community.web.soy.SoyResourceParser.getDependencies(SoyResourceParser.java:99)

        at com.jivesoftware.community.web.soy.impl.SoyTemplateRegistryImpl.lambda$3(SoyTemplateRegistryImpl.java:396)

        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)

        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)

        at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)

        at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)

        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)

        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)

        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)

        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)

       

      Thanks

      Surya