Giter Site home page Giter Site logo

Remove Scala code about online-auction-java HOT 9 CLOSED

lagom avatar lagom commented on May 25, 2024 1
Remove Scala code

from online-auction-java.

Comments (9)

benmccann avatar benmccann commented on May 25, 2024

I had to configure the project as a Scala project in Eclipse to get it to work. We should remove the workaround when this issue is fixed

from online-auction-java.

lakhina avatar lakhina commented on May 25, 2024

@jroper Should I replace the scala code?

from online-auction-java.

jroper avatar jroper commented on May 25, 2024

I don't think it's possible to replace - you can't supply a package level implicit field constructor with Java since Java doesn't support implicits.

from online-auction-java.

lakhina avatar lakhina commented on May 25, 2024

@jroper Hello Sir, I got a doubt. Then how is this project a java if we are forced to use scala in middle.

from online-auction-java.

jroper avatar jroper commented on May 25, 2024

The project also use JavaScript, HTML, CSS, XML, and a number of other languages. The templating language used, twirl, is based on Scala. The build file uses Scala. It's very common for applications to use multiple languages, even if they primarily use one language.

from online-auction-java.

benmccann avatar benmccann commented on May 25, 2024

One difference is that Java and Scala are compiled together and the Java code doesn't work without the Scala code. That means you can't edit the Java code in your IDE without Scala support installed

I've never used Play's internationalization stuff before, so unfortunately I don't have any suggestions on other solutions for this.

from online-auction-java.

jroper avatar jroper commented on May 25, 2024

That's actually not the case here - the Scala code is only used by the twirl templates. If we weren't using twirl templates, this code would not be needed. So Scala support is needed in the IDE because we're using twirl, not because of this Scala code.

from online-auction-java.

lakhina avatar lakhina commented on May 25, 2024

@jroper Thanks for info :)

So this issue should be closed?

from online-auction-java.

dwijnand avatar dwijnand commented on May 25, 2024

I guess so.

from online-auction-java.

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.