2020-09-01 04:20:15
@Rotonen they are too much framework, at least as far as I've seen
Fireduck
2020-09-01 04:20:20
my needs are simple
Fireduck
2020-09-01 17:38:13
still http is harder than one would superficially think
Rotonen
2020-09-01 17:39:40
@Fireduck which part of snowblossom should one try to jam into robovm?
supports gradle and maven out of the box
trying to go for just adding a dependency and seeing if it compiles or not
Rotonen
2020-09-01 17:43:52
right, I'm using the javax http server, which seems to work fine
Fireduck
2020-09-01 17:44:07
I know I'm not handling a bunch of things like range requests yet
Fireduck
2020-09-01 17:44:30
as for robovm, don't suppose there is any chance of swing UI stuff working?
Fireduck
2020-09-01 17:52:59
Assuming there is no change of that, just running the SnowBlossomClient would be good
Fireduck
2020-09-01 17:54:49
i was hoping to just try if there is something it cannot compile
Rotonen
2020-09-01 17:55:15
then do a smoketest where it prints a new address on screen
Rotonen
2020-09-01 17:55:28
yeah, that makes sense
Fireduck
2020-09-01 17:55:44
after that, sure, can try this or that
Rotonen
2020-09-01 17:58:15
i have an empty gradle project which can launch a white screen on ios
Rotonen
2020-09-01 17:59:16
next step is to add something to the gradle definitions as a dependency so it would try to compile at least a part of snowblossom
Rotonen
2020-09-01 18:00:01
as robovm is an ahead of time compiler, should work to show if you use something they don’t implement
Rotonen
2020-09-01 18:01:59
got it. Does it compile from source java files or does it work from class files?
Fireduck
2020-09-01 18:04:46
it can eat jars
Rotonen
2020-09-01 18:07:19
Cool. You can give it the client deploy jar and then run snowblossom.client.VanityGen
Fireduck
2020-09-01 18:07:25
presumably both class files and source code would be fine
it prefers to skeleton out an intellij idea project and there are a few gradle build targets it provides (debug and production builds for simulators, real devices and a publication target)
Rotonen
2020-09-01 18:07:43
for now goal 1 is debug in simulator
Rotonen
2020-09-01 18:09:13
@Fireduck i’m a fish out of water in java packaging - what do i put into the gradle or maven file so it pulls a snowblossom jar from somewhere and tries to compile it?
Rotonen
2020-09-01 18:09:46
ah, I understand the problem now
Fireduck
2020-09-01 18:09:49
i can do gradle or maven based projects and i think bazel can wrap both
Rotonen
2020-09-01 18:10:19
so can do snake eat tail in the end, but first gotta make the loop that way
Rotonen
2020-09-01 18:12:20
i’d guess filesystem targets can also be a thing, but would need to learn the lingo first to be able to parse the specifications of either maven or gradle
Rotonen
2020-09-01 18:12:40
conceptually on a high level both seem to do what one would expect
Rotonen
2020-09-01 18:13:23
yeah, I am reading about it. The problem is maven local repositories don't expect just a jar, they expect a jar with a .pom file and in a certain location
Fireduck
2020-09-01 18:13:35
I can't find a just use this jar and shut it option
Fireduck
2020-09-01 18:13:50
exactly the wall i hit
Rotonen
2020-09-01 18:14:12
bazel seems to be able to generate a pom
Rotonen