apache / pekko

Build highly concurrent, distributed, and resilient message-driven applications using Java/Scala
https://pekko.apache.org/
Apache License 2.0
1.16k stars 137 forks source link

Support building with Windows #829

Open pjfanning opened 8 months ago

pjfanning commented 8 months ago

We have had reports of issues building (from source) with Windows. I don't have access to a Windows machine to verify.

laglangyue commented 8 months ago

I have a windows compute,what can I do, just compile?

pjfanning commented 8 months ago

https://github.com/apache/incubator-pekko/#building-from-source has the build instrucations.

it would be good to at least get sbt compile tested

He-Pin commented 8 months ago

I'm using windows, I think it's OK, let me check and report back, it works. image

laglangyue commented 8 months ago

I also test with sbt compile on win 10,and I haven't found any errors.

Roiocam commented 7 months ago

Related on #986? could you give more information about this?

mdedetrich commented 7 months ago

Related on #986? could you give more information about this?

Its unrelated to https://github.com/apache/incubator-pekko/issues/986 . The context of this issue is that at one point in time someone was verifying the Pekko project as part of the release process and they were doing it on the Windows machine and there were problems with that.

It could be that the person was testing the src distribution (i.e not from git repo) which is why it didn't work on windows, but this is speculation. I would actually close this ticket since it isn't specified properly, @pjfanning wdyt?

Roiocam commented 7 months ago

Related on #986? could you give more information about this?

Its unrelated to #986 . The context of this issue is that at one point in time someone was verifying the Pekko project as part of the release process and they were doing it on the Windows machine and there were problems with that.

It could be that the person was testing the src distribution (i.e not from git repo) which is why it didn't work on windows, but this is speculation. I would actually close this ticket since it isn't specified properly, @pjfanning wdyt?

I know, I'm just trying to throw a stone and make some waves.

I have encountered issues affected by line separators multiple times in my career, especially when developers cross-use Windows and Unix-like systems.

It would be better to have more context information to help advance this issue and resolve it.

mdedetrich commented 7 months ago

I know, I'm just trying to throw a stone and make some waves.

I have encountered issues affected by line separators multiple times in my career, especially when developers cross-use Windows and Unix-like systems.

It would be better to have more context information to help advance this issue and resolve it.

The src distributions are listed here so I guess you can try downloading the latest pekko src distribution and seeing if it compiles/test passes on Windows

He-Pin commented 7 months ago

I'm developing on windows 11, I think it works now. but a window/ARM(where concurrency code matters) CI should be nice.

mdedetrich commented 7 months ago

I'm developing on windows 11, I think it works now. but a window/ARM(where concurrency code matters) CI should be nice.

The critical distinction here is the src distribution which tbh I would be surprised if anyone developed with, let alone download and used outside of voting for a Pekko release.