[rfc] added preprocessing to rust launchers

Jiri Vanek jvanek at redhat.com
Tue Dec 5 16:11:28 UTC 2017


This patch is adding the possiblity to pas classapth and simialr to the rust luncher.
If there is enybody knowing the better way, and especially how to get rid of this duplicated 
(triplicated x triplicated) snipept of
+	MAIN_CLASS=net.sourceforge.jnlp.runtime.Boot ;\
+	BIN_LOCATION=$(bindir)/$(javaws).sh ;\
+	PROGRAM_NAME=$(javaws) ;\
+	$(edit_launcher_script) < $< > $@

And turn it into function of call(name, suffix)  < $< > $@, that would be awesome. I tried many 
times, various ways, but if I get rid of those three lines, I always duplicated  targets:(

J.



-- 
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com    M: +420775390109
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preprocessedRustLaunchers.patch
Type: text/x-patch
Size: 2026 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20171205/a39cabeb/preprocessedRustLaunchers.patch>


More information about the distro-pkg-dev mailing list