Jar: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Java")
 
No edit summary
Line 2: Line 2:


* [[java#Subjects|Java]]
* [[java#Subjects|Java]]
=Create a JAR from Files Located in a Directory Different from the Current One=
Use <tt>-C</tt> ''before'' <tt>cfv</tt>:
<pre>
jar -C <directory-we-want-to-JAR-from> cfv <JAR-file-name> *
</pre>

Revision as of 02:02, 25 March 2016

Internal

Create a JAR from Files Located in a Directory Different from the Current One

Use -C before cfv:

jar -C <directory-we-want-to-JAR-from> cfv <JAR-file-name> *