Questions tagged [jsweet]

JSweet is a Java to JavaScript transpiler that allows sharing code between client and server.

19 questions
0
votes
1 answer

Run a script after JSweet transpilation

I'm trying to build a TypeScript project with JSweet. After the transpilation, I want to run a script in any language to move some files around; specifically files that are already in TypeScript that don't need transpilation. I wrote a Groovy script…
eje211
  • 2,385
  • 3
  • 28
  • 44
0
votes
0 answers

MojoFailureException in Eclipse project

I'm using Ecplise for a Java project with Maven and Jsweet. In my workspace I've got two projects: one of the back-end with the servlets and one of the front-end. When I tried to compile only the front end to generate js files for html pages I don't…
0
votes
0 answers

Maven multiproject with jsweet (java to Javascript). communication between modules within project

Edit: Enter compiler Failure, thats the error code. First things first: Sorry for the massive WallOfCode, tried to give all informations i have. Hey, this is my first time here. I will try to descripe my problem as best i can do. i create a maven…
Vega
  • 1
  • 1
0
votes
1 answer

How do I get tanh in jsweet?

I am using JSweet to transpile Java into Javascript and I need to use Math.tanh() but it's not available in the jsweet.lang.Math object, but I see it in the…
Kristopher Ives
  • 5,838
  • 7
  • 42
  • 67
1
2