You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd be interested in giving this a go, starting with a Java implentation then porting to the other languages
My initial design would be to add a new tag called something like @PackageFile and a parameter on the package tag that takes an array of them giving something like
public class Main {
@Package(repository="brendanburns",
jarFile="path/to/my-fat-jar.jar"),
additionalFiles={
@PackageFile(path="/opt/hello/message", src="files/messages"),
@PackageFile(path="/etc/hello.conf", src="files/default.conf")
})
public static void main(String[] args) {
Containerize(() -> {
System.out.println("Hello Metaparticle/Package");
});
}
}
This issue is a bit stale, as long as we're all on the same page about including a additionalFiles mechanism I'll give this a shot with python and we can discuss further on the PR?
Right now the packaging just packages code. We should extend the annotations to include arbitrary files via a
FileSet
annotation or somesuch.The text was updated successfully, but these errors were encountered: