Sunday, August 10, 2014

Re: gwt-library

Thank you very much!

Am Sonntag, 10. August 2014 23:16:29 UTC+2 schrieb Julien Dramaix:
You have to inherit the Elastic module. In your  gwt.xml file, add the following line:
<inherits name='com.arcbees.gquery.elastic.Elastic'/>

On Sunday, August 10, 2014 11:07:48 PM UTC+2, marian lux wrote:
For testing and analysis purpose I tried to create a new project for elastic plugin (I never used gwtquery before).

I created a new project with and did all steps as described here (https://code.google.com/p/gwtquery/wiki/CreatingNewApplications)
mvn archetype:generate  -DarchetypeGroupId=com.googlecode.gwtquery \
                       
-DarchetypeArtifactId=gquery-archetype  \
                       
-DarchetypeVersion=1.3.3 \
                       
-DgroupId=com.mycompany \
                       
-DartifactId=myproject \
                       
-DprojectName=MyProject


updated the pom.xml to gwt 2.6.1 and
<dependency> <groupId>com.arcbees.gquery</groupId> <artifactId>elastic</artifactId> <version>1.0-SNAPSHOT</version> </dependency>

executed:
mvn eclipse:eclipse

After that I imported the project into eclipse.

My gwt.xml:
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='GwtQuerySample'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.query.Query'/>

<entry-point class='at.mlux.gwtquerysample.client.GwtQuerySample'/>

<!-- Specify the paths for translatable code -->
<source path='client'/>
<source path='shared'/>

<!-- allow Super Dev Mode -->
<add-linker name="xsiframe"/>
</module>


When I try to insert the line for ElasticHtmlPanel (in EntryPoint - as described here https://github.com/ArcBees/gwtquery-elastic-plugin)
...
#2 import com.arcbees.gquery.elastic.client.ElasticHtmlPanel;
#3 import static com.arcbees.gquery.elastic.client.Elastic.Elastic;

#35 ElasticHtmlPanel elasticHtmlPanel;
...



I get the following error on compilation:
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Finding entry point classes
[ERROR] Errors in 'file:/...mypath.../GwtQuerySample.java'
[ERROR] Line 35: No source code is available for type com.arcbees.gquery.elastic.client.ElasticHtmlPanel; did you forget to inherit a required module?
[ERROR] Unable to find type 'at.mlux.gwtquerysample.client.GwtQuerySample'
[ERROR] Hint: Previous compiler errors may have made this type unavailable
[ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly


What is wrong?

Am Samstag, 9. August 2014 11:58:10 UTC+2 schrieb Julien Dramaix:
Check at https://github.com/ArcBees/gwtquery-elastic-plugin
It's in beta and doesn't support drag and drop but it could be a good start.


On Friday, August 8, 2014 11:27:28 AM UTC+2, al1975e wrote:
I am looking for a solution how to make such a panel, in which I could put in my panels, which can be used to move, rearrange and resize. I will be glad to any advice.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment