Giter VIP home page Giter VIP logo

Comments (6)

chiquitinxx avatar chiquitinxx commented on August 24, 2024

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.

dilvan1 avatar dilvan1 commented on August 24, 2024

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.

chiquitinxx avatar chiquitinxx commented on August 24, 2024

No attachments here, please you can send it to my email. Thank you.

from grooscript.

chiquitinxx avatar chiquitinxx commented on August 24, 2024

Got it!

from grooscript.

chiquitinxx avatar chiquitinxx commented on August 24, 2024

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.

chiquitinxx avatar chiquitinxx commented on August 24, 2024

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)

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.