GithubHelp home page GithubHelp logo

Comments (5)

confile avatar confile commented on August 22, 2024

Okay I used javac first and found the error a lib was missing:

translateFlags "--no-package-directories --prefixes prefixes.properties --mapping method-mappings.properties -use-arc -classpath ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT-sources.jar:${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT.jar"

Is is possible to split the translateFlags over more than one line?

from j2objc-gradle.

brunobowden avatar brunobowden commented on August 22, 2024

The answer is only a Google search away ;-)

http://mrhaki.blogspot.com/2010/11/groovy-goodness-string-continuation.html

On Wed Feb 11 2015 at 1:32:55 PM Confile [email protected] wrote:

Okay I used javac first and found the error a lib was missing:

translateFlags "--no-package-directories --prefixes prefixes.properties --mapping method-mappings.properties -use-arc -classpath ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT-sources.jar:${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT.jar"

Is is possible to split the translateFlags over more than one line?


Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/7#issuecomment-73969248
.

from j2objc-gradle.

confile avatar confile commented on August 22, 2024

Thank you. Is there a way to set the classpath lib from dependencies section. For example if you have:

dependencies {
   compile 'com.google.dagger:dagger:2.0-SNAPSHOT'
}  

do I have to link to the local jar file or is there any shortcut?

from j2objc-gradle.

confile avatar confile commented on August 22, 2024

I tried this:

translateFlags "--no-package-directories --prefixes prefixes.properties --mapping method-mappings.properties -use-arc\
        -classpath ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT-sources.jar: ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT.jar"

but it did not work so I switched to the """ notation for multi row Strings.

from j2objc-gradle.

confile avatar confile commented on August 22, 2024

Fixed now.

from j2objc-gradle.

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.