Skip to content

Commit

Permalink
Cleanup dist directory, make ant work on non-NetBeans platforms.
Browse files Browse the repository at this point in the history
 - Everything can be packaged with `ant package`.
  • Loading branch information
J08nY committed Nov 10, 2017
1 parent d2558f0 commit 6c46a27
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 83 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Tests support and behavior of smartcards with JavaCard platform with focus on Eliptic curves (`TYPE_EC_FP` and `TYPE_EC_F2M`).

## Build

ECTester uses ant.
```bash
ant package # To build the reader tool (jar).
ant -f jcbuild.xml build # To build the applet (cap).
```

## Usage

1. Upload `!uploader/ectester.cap` using your favorite tool (e.g., [GlobalPlatformPro tool](https://github.com/martinpaljak/GlobalPlatform))
Expand Down
Binary file removed dist/ECTester.jar
Binary file not shown.
34 changes: 0 additions & 34 deletions dist/ectester.bat

This file was deleted.

48 changes: 0 additions & 48 deletions dist/ectester.sh

This file was deleted.

Binary file removed dist/lib/commons-cli-1.3.1.jar
Binary file not shown.
Binary file removed dist/lib/jcardsim-2.2.2-all.jar
Binary file not shown.
Binary file removed dist/lib/jcardsim-3.0.4-SNAPSHOT.jar
Binary file not shown.
Binary file removed dist/lib/snakeyaml-1.19.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion nbproject/build-impl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ is divided into following sections:
</chainedmapper>
</pathconvert>
<taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
<copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
<copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
<fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>
<manifest>
<attribute name="Class-Path" value="${jar.classpath}"/>
Expand Down
Binary file added nbproject/copylibstask.jar
Binary file not shown.
1 change: 1 addition & 0 deletions nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dist.archive.excludes=
dist.dir=dist
dist.jar=${dist.dir}/ECTester.jar
dist.javadoc.dir=${dist.dir}/javadoc
libs.CopyLibs.classpath=nbproject/copylibstask.jar
endorsed.classpath=
excludes=
includes=**
Expand Down

0 comments on commit 6c46a27

Please sign in to comment.