summaryrefslogtreecommitdiff
path: root/examples/01-struct
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-04-26 17:24:24 +0100
committerMichael Williamson <mike@zwobble.org>2026-04-26 17:24:24 +0100
commit8d3923b4371580b48c3c6668c828a7dd63e61255 (patch)
treecfde4f3d23881c4dd1e8d7e4a6057fbad1ac3acf /examples/01-struct
parent971321393c5965dd14eb604e22e907d6b94b0c8a (diff)
Add stubbed java output example
Diffstat (limited to 'examples/01-struct')
-rw-r--r--examples/01-struct/output/java/.gitignore2
-rw-r--r--examples/01-struct/output/java/pom.xml39
-rw-r--r--examples/01-struct/output/java/src/main/java/org/zwobble/example/Main.java7
3 files changed, 48 insertions, 0 deletions
diff --git a/examples/01-struct/output/java/.gitignore b/examples/01-struct/output/java/.gitignore
new file mode 100644
index 0000000..ff511d4
--- /dev/null
+++ b/examples/01-struct/output/java/.gitignore
@@ -0,0 +1,2 @@
+/src/gen/
+/target/
diff --git a/examples/01-struct/output/java/pom.xml b/examples/01-struct/output/java/pom.xml
new file mode 100644
index 0000000..7493667
--- /dev/null
+++ b/examples/01-struct/output/java/pom.xml
@@ -0,0 +1,39 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.zwobble.hobgoblin.examples</groupId>
+ <artifactId>example</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <maven.compiler.source>25</maven.compiler.source>
+ <maven.compiler.target>25</maven.compiler.target>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>3.6.1</version>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>src/gen/java</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/examples/01-struct/output/java/src/main/java/org/zwobble/example/Main.java b/examples/01-struct/output/java/src/main/java/org/zwobble/example/Main.java
new file mode 100644
index 0000000..5e0e111
--- /dev/null
+++ b/examples/01-struct/output/java/src/main/java/org/zwobble/example/Main.java
@@ -0,0 +1,7 @@
+package org.zwobble.example;
+
+public class Main {
+ public static void main() {
+
+ }
+}