Giter Club home page Giter Club logo

Comments (17)

branflake2267 avatar branflake2267 commented on August 16, 2024

Nice job! :)

from gwtp.

kuhnroyal avatar kuhnroyal commented on August 16, 2024

I just tried to use the ApplicationController. The Ginjector is emitted correctly in the GWT .generated folder but the GinjectorInspector fails to find the class with "The configuration property 'gin.ginjector' is 'com.example.client.gin.ClientInjector' which doesn't identify a type inheriting from 'Ginjector'.".
Any idea why this could be happening? Isn't GWT supposed to have access to previously generated artifacts?

from gwtp.

christiangoudreau avatar christiangoudreau commented on August 16, 2024

the gin.ginjector property must be set to ClientGinjector

you don't need any ginjector anymore.

Known issue: Gatekeepers are not included yet and I have to find an elegant
way to include form factors permutations

On Fri, Dec 14, 2012 at 12:10 PM, Peter Leibiger
[email protected]:

I just tried to use the ApplicationController. The Ginjector is emitted
correctly in the GWT .generated folder but the GinjectorInspector fails to
find the class with "The configuration property 'gin.ginjector' is
'com.example.client.gin.ClientInjector' which doesn't identify a type
inheriting from 'Ginjector'.".
Any idea why this could be happening? Isn't GWT supposed to have access to
previously generated artifacts?


Reply to this email directly or view it on GitHubhttps://github.com//issues/63#issuecomment-11383795.

Christian Goudreau | CEO - Président
M: 1.877.635.1585 | S: christian.goudreau
ArcBees http://www.arcbees.com | Blog http://blog.arcbees.com |
Facebookhttps://www.facebook.com/QueenOfTheBees|
LinkedIn http://www.linkedin.com/company/arcbees

from gwtp.

kuhnroyal avatar kuhnroyal commented on August 16, 2024

I have no manual Ginjector. Only the one that is being generated, however the GinjectorInspector still fails when trying to generate a Proxy.

I have already implemented Gatekeepers and fixed the PresenterBundles which don't work atm. I can open a pull request once I can get it running.

from gwtp.

christiangoudreau avatar christiangoudreau commented on August 16, 2024

Bizarre, do you have the latest in your maven repo?

ClientGinjector doesn't extends Ginjector into de gen folder? That's really
weird

On Sat, Dec 15, 2012 at 1:32 PM, Peter Leibiger [email protected]:

I have no manual Ginjector. Only the one that is being generated, however
the GinjectorInspector still fails when trying to generate a Proxy.

I have already implemented Gatekeepers and fixed the PresenterBundles
which don't work atm. I can open a pull request once I can get it running.


Reply to this email directly or view it on GitHubhttps://github.com//issues/63#issuecomment-11408140.

Christian Goudreau | CEO - Président
M: 1.877.635.1585 | S: christian.goudreau
ArcBees http://www.arcbees.com | Blog http://blog.arcbees.com |
Facebookhttps://www.facebook.com/QueenOfTheBees|
LinkedIn http://www.linkedin.com/company/arcbees

from gwtp.

kuhnroyal avatar kuhnroyal commented on August 16, 2024

I build from master. It does extent Ginjector, the code is solid but the class can not be found by the inspector.

from gwtp.

christiangoudreau avatar christiangoudreau commented on August 16, 2024

Uhm, I've just sent a pull request on the GWTP-Samples for the basic
sample. This one is working.

I had to clean my .m2/com/gwtplatorm repo when I updated to the last
version, could you verify if that solves the problem?

On Sat, Dec 15, 2012 at 3:28 PM, Peter Leibiger [email protected]:

I build from master. It does extent Ginjector, the code is solid but the
class can not be found by the inspector.


Reply to this email directly or view it on GitHubhttps://github.com//issues/63#issuecomment-11409965.

Christian Goudreau | CEO - Président
M: 1.877.635.1585 | S: christian.goudreau
ArcBees http://www.arcbees.com | Blog http://blog.arcbees.com |
Facebookhttps://www.facebook.com/QueenOfTheBees|
LinkedIn http://www.linkedin.com/company/arcbees

from gwtp.

kuhnroyal avatar kuhnroyal commented on August 16, 2024

I got it to work now in a complex setup with 40+ presenters in multiple bundles, also with gatekeepers and @DefaultGatekeeper.

Problem was that the class given in 'gin.ginjector' property has to be named ClientGinjector, mine was called ClientInjector. This should be documented more thoroughly or maybe we can find a way to allow arbitrary a class name.

While we are at it, maybe we can also try to generate the ProviderBundles?

I will prepare a pull request tomorrow for the gatekeeper stuff.

from gwtp.

christiangoudreau avatar christiangoudreau commented on August 16, 2024

Cool! Good job! Yes, we could mark it more clearly in the Javadoc. The doc
for this features still has to be done though :D First we have to update
and move all the doc from Google code to Github, then add the new stuff!

So much to do!

A new undocumented feature is that you can now add as a fourth parameters
in the ctor the slot of your presenter, removing the need to override
revealInSlot. There's also an enum for the root: RevealType. Here was the
pull request:
#33

On Sun, Dec 16, 2012 at 10:24 AM, Peter Leibiger
[email protected]:

I got it to work now in a complex setup with 40+ presenters in multiple
bundles, also with gatekeepers and @DefaultGatekeeper.

Problem was that the class given in 'gin.ginjector' property has to be
named ClientGinjector, mine was called ClientInjector. This should be
documented more thoroughly or maybe we can find a way to allow arbitrary a
class name.

While we are at it, maybe we can also try to generate the ProviderBundles?

I will prepare a pull request tomorrow for the gatekeeper stuff.


Reply to this email directly or view it on GitHubhttps://github.com//issues/63#issuecomment-11418744.

Christian Goudreau | CEO - Président
M: 1.877.635.1585 | S: christian.goudreau
ArcBees http://www.arcbees.com | Blog http://blog.arcbees.com |
Facebookhttps://www.facebook.com/QueenOfTheBees|
LinkedIn http://www.linkedin.com/company/arcbees

from gwtp.

branflake2267 avatar branflake2267 commented on August 16, 2024

Wow nice job!

from gwtp.

kuhnroyal avatar kuhnroyal commented on August 16, 2024

Got around to work on this a little more.
I sent a pull request #77

from gwtp.

 avatar commented on August 16, 2024

Sorry to butt in, but where is the gen folder now?

from gwtp.

 avatar commented on August 16, 2024

(using trick from here for now : https://groups.google.com/forum/?fromgroups=#!topic/gwt-platform/QnhvN979d6g)

from gwtp.

kuhnroyal avatar kuhnroyal commented on August 16, 2024

By default in .generated I think

from gwtp.

christiangoudreau avatar christiangoudreau commented on August 16, 2024

the gen folder is where ever you chosen. You have to specify -gen generated if you want it to be in the "generated" folder. I personally always use -gen gen

from gwtp.

 avatar commented on August 16, 2024

I think something may have changed in GWTP 0.8+ or GWT 2.5 as I now get my
ClientGinjector generated in a 'gen' folder but I can't figure out where!

When I use -gen gen I get it in my project root

This is all fine for me , but it's certainly less useful for beginners than
the old code that would output the full path to it's partially generated
ginjector

On 16 January 2013 00:35, christiangoudreau [email protected]:

the gen folder is where ever you chosen. You have to specify -gen
generated if you want it to be in the "generated" folder. I personally
always use -gen gen


Reply to this email directly or view it on GitHubhttps://github.com//issues/63#issuecomment-12297987.

Cheers!
Ben Ritchie
draft pitch video http://www.youtube.com/watch?v=1oRK3cJCBHA&feature=plcp
facebook.secretstatus.com
blog.secretstatus.com/
www.secretstatus.com

from gwtp.

kuhnroyal avatar kuhnroyal commented on August 16, 2024

I just checked with the samples, if you don't provide the <gen> parameter to the maven-gwt-plugin it will end up in target/.generated by default. That folder may be hidden depending on your system.

from gwtp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.