Comments (6)
Aye, something is failing compiling your code. Does your groovy code compile and run? Do you have added all classpaths in the conversion process? Are you using a type not supported by grooscript? Can you reproduce the errer with a small code that you can share?
Thank you!
from grooscript.
Hi,
You can unzip the attached test.ziped (gmail didn’t like the .zip
extension in this file), go to test and run ./gradlew convert
Interesting, if you delete the Factory.groovy file, the error type
changes.
Cheers,
Dilvan de Abreu Moreira, Ph.D. [email protected]
http://java.icmc.usp.br
Warning: I use a spam filter, some emails sent to me CAN be lost!
On Wed, Sep 16, 2015 at 3:44 PM, Jorge Franco [email protected]
wrote:
Aye, something is failing compiling your code. Does your groovy code
compile and run? Do you have added all classpaths in the conversion
process? Are you using a type not supported by grooscript? Can you
reproduce the errer with a small code that you can share?Thank you!
—
Reply to this email directly or view it on GitHub
#50 (comment)
.
from grooscript.
No attachments here, please you can send it to my email. Thank you.
from grooscript.
Got it!
from grooscript.
Hello!
The error is a bit complicated, it doesn't compile, but can be a groovy / gradle bug, also a grooscript problem. Grooscript uses classpath and groovy compiler, and it depends of groovy and gradle.
But, I got an easy workaround, in WebGLViewerImpl.groovy file you have a few classes, if you create groovy files for ImgTexture and ImgSimpleTexture and move code there then all works.
It seems that having a class for file is better for the compiler. Also I found a few issues converting the code. I created a new version, grooscript 1.2.1, also with the gradle plugin. So, please upgrade both, to upgrade grooscript libraries (*.js) you have to run './gradlew syncGsLibs' after you upgrade gradle plugin.
Tell me if you have more problems. I keep issue open for investigate that compile problem.
And please :) don't use semicolons, is groovy!
from grooscript.
Hello!
The code you sent me not compile. In Factory you are using wrong classes, also missing Shader class. Be sure your code compiles before convert it! Sometimes, it happens, also good idea make tests :) After fix things, it converts fine. Please next time try to share your code in github or bitbucket (you can invite me to repository)
Thank you for try grooscript :)
from grooscript.
Related Issues (20)
- PhantomJs test FAIL HOT 15
- Missing count function in lists
- Size limit of returned data for a PhantomJS test? HOT 5
- Errors using 'this' in traits
- Rest API support HOT 1
- Debug support
- Support to javascript source maps
- Extra semicolons or missing them
- Missing sort function in maps HOT 5
- Remove gQuery / jQuery and PhantomJs Tests HOT 1
- Source maps
- Hot reloading
- Multi-case switch statements not working HOT 2
- Add support for CommonJs, es6 or UMD modules HOT 1
- Third Party JS Libraries HOT 1
- node installation on PCF HOT 1
- Is the project going to be maintained or is it dead? HOT 8
- Async and Await HOT 5
- Abandoned HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grooscript.