moved the "lib" folder, see #33

This commit is contained in:
hneemann 2020-02-20 08:55:30 +01:00
parent 71789ddb83
commit d95e9bf9ce
5 changed files with 20 additions and 3 deletions

View File

@ -57,7 +57,7 @@
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>${basedir}/src/main/dig/lib</directory> <directory>${basedir}/src/main/dig/lib</directory>
<outputDirectory>/examples/lib/</outputDirectory> <outputDirectory>/lib/</outputDirectory>
<includes> <includes>
<include>**/*.dig</include> <include>**/*.dig</include>
<include>**/*.txt</include> <include>**/*.txt</include>

View File

@ -1,6 +1,7 @@
Release Notes Release Notes
Head, planned as v0.25 Head, planned as v0.25
- move the "lib" folder from the "examples" folder to the root folder.
- 74193 was added - 74193 was added
v0.24, released on 1. Feb. 2020 v0.24, released on 1. Feb. 2020

View File

@ -71,7 +71,7 @@ public class ElementLibrary implements Iterable<ElementLibrary.ElementContainer>
if (path.endsWith("/target/Digital.jar")) if (path.endsWith("/target/Digital.jar"))
return new File(path.substring(0, path.length() - 19) + "/src/main/dig/lib"); return new File(path.substring(0, path.length() - 19) + "/src/main/dig/lib");
if (path.endsWith("Digital.jar")) if (path.endsWith("Digital.jar"))
return new File(path.substring(0, path.length() - 12) + "/examples/lib"); return new File(path.substring(0, path.length() - 12) + "/lib");
return new File("noLibFound"); return new File("noLibFound");
} }

View File

@ -664,6 +664,14 @@
erforderlich. erforderlich.
</answer> </answer>
</faq> </faq>
<faq>
<question>Ich habe eine Schaltung erstellt, welche ich in vielen anderen Schaltungen verwenden möchte.
Wie kann ich das ermöglichen, ohne die Datei immer wieder in die entsprechenden Ordner zu kopieren?
</question>
<answer>Die Schaltung kann im "lib" Ordner gespeichert werden. Dann ist sie in allen anderen Schaltungen
verfügbar.
</answer>
</faq>
</chapter> </chapter>
<chapter heading="Tastenbelegung" newpage="true"> <chapter heading="Tastenbelegung" newpage="true">
<shortcuts> <shortcuts>

View File

@ -593,7 +593,8 @@
</faq> </faq>
<faq> <faq>
<question>When creating a JEDEC file: How to assign a pin number to a certain signal?</question> <question>When creating a JEDEC file: How to assign a pin number to a certain signal?</question>
<answer>At the corresponding inputs and outputs you can enter a pin number in the settings dialog of the pin. <answer>At the corresponding inputs and outputs you can enter a pin number in the settings dialog of the
pin.
</answer> </answer>
</faq> </faq>
<faq> <faq>
@ -601,6 +602,13 @@
</question> </question>
<answer>To program such a chip a special programmer hardware is necessary.</answer> <answer>To program such a chip a special programmer hardware is necessary.</answer>
</faq> </faq>
<faq>
<question>I have created a circuit that I want to use in many other circuits.
How can I do this without copying the file over and over again into the appropriate folders?
</question>
<answer>The circuit can be saved in the "lib" folder. Then it is available in all other circuits.
</answer>
</faq>
</chapter> </chapter>
<chapter heading="Keyboard Shortcuts" newpage="true"> <chapter heading="Keyboard Shortcuts" newpage="true">
<shortcuts> <shortcuts>