Skip to content

Commit aa59780

Browse files
Updates Publishing URL and Documentation (#342)
Signed-off-by: Mudit Chaudhary <chmudit@amazon.com>
1 parent f4a8c40 commit aa59780

3 files changed

Lines changed: 21 additions & 8 deletions

File tree

CedarJava/DIFFERENCES_FROM_RUST.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CedarJava/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,26 @@ syntax:
3131
Debugging calls across the JNI boundary is a bit tricky (as ever a bit more so on a Mac), but can be done by attaching
3232
both a Java and native debugger (such as GDB/LLDB) to the program.
3333

34-
## Unsupported Features
35-
You can see a list of features not yet supported in CedarJava at [Differences from Rust](DIFFERENCES_FROM_RUST.md).
34+
## Windows Support
35+
36+
Windows is not officially supported, but you can build CedarJava manually for Windows targets using the following workaround:
37+
38+
1. Clone the repository:
39+
```bash
40+
git clone https://github.com/cedar-policy/cedar-java
41+
cd cedar-java/CedarJavaFFI
42+
```
43+
44+
2. Build the native library for your target ABI:
45+
```bash
46+
# For GNU ABI (MinGW)
47+
cargo build --features partial-eval --release --target x86_64-pc-windows-gnu
48+
49+
# For MSVC ABI (Visual Studio)
50+
cargo build --features partial-eval --release --target x86_64-pc-windows-msvc
51+
```
52+
53+
3. Set the `CEDAR_JAVA_FFI_LIB` environment variable to point to the generated DLL.
3654

3755
## Security
3856

CedarJava/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ publishing {
322322
}
323323
repositories {
324324
maven {
325-
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
325+
url = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
326326
// To publish, uncomment these lines and ensure you have them set in `gradle.properties`
327327
// credentials {
328328
// username ossrhUsername

0 commit comments

Comments
 (0)