Skip to content

Commit 6a0c98e

Browse files
committed
Fixed fetcher for Ariva. Changed htmlunit to version 2.45
1 parent b7b2e25 commit 6a0c98e

56 files changed

Lines changed: 236 additions & 143 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.classpath

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="src" path="tests"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
6+
<attributes>
7+
<attribute name="module" value="true"/>
8+
</attributes>
9+
</classpathentry>
10+
<classpathentry kind="lib" path="lib/apache-commons-csv/commons-csv-1.0-SNAPSHOT.jar"/>
11+
<classpathentry kind="lib" path="lib/htmlunit-2.45/htmlunit-2.45.0.jar"/>
12+
<classpathentry kind="lib" path="lib/htmlunit-2.45/htmlunit-cssparser-1.7.0.jar"/>
13+
<classpathentry kind="lib" path="lib/htmlunit-2.45/httpclient-4.5.13.jar"/>
14+
<classpathentry kind="lib" path="lib/htmlunit-2.45/commons-codec-1.11.jar"/>
15+
<classpathentry kind="lib" path="lib/htmlunit-2.45/httpcore-4.4.13.jar"/>
16+
<classpathentry kind="lib" path="lib/htmlunit-2.45/commons-logging-1.2.jar"/>
17+
<classpathentry kind="lib" path="lib/htmlunit-2.45/htmlunit-core-js-2.45.0.jar"/>
18+
<classpathentry kind="lib" path="lib/htmlunit-2.45/dec-0.1.2.jar"/>
19+
<classpathentry kind="lib" path="lib/htmlunit-2.45/commons-io-2.8.0.jar"/>
20+
<classpathentry kind="lib" path="lib/htmlunit-2.45/commons-lang3-3.11.jar"/>
21+
<classpathentry kind="lib" path="lib/htmlunit-2.45/xercesImpl-2.12.0.jar"/>
22+
<classpathentry kind="lib" path="lib/htmlunit-2.45/xml-apis-1.4.01.jar"/>
23+
<classpathentry kind="lib" path="lib/htmlunit-2.45/xalan-2.7.2.jar"/>
24+
<classpathentry kind="lib" path="lib/htmlunit-2.45/httpmime-4.5.13.jar"/>
25+
<classpathentry kind="lib" path="lib/htmlunit-2.45/neko-htmlunit-2.45.0.jar"/>
26+
<classpathentry kind="lib" path="lib/htmlunit-2.45/salvation2-3.0.0.jar"/>
27+
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
28+
<classpathentry kind="output" path="bin"/>
29+
</classpath>

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>JavaStockQuotes</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.wst.validation.validationbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.jdt.core.javabuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4+
org.eclipse.jdt.core.compiler.compliance=1.8
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7+
org.eclipse.jdt.core.compiler.release=disabled
8+
org.eclipse.jdt.core.compiler.source=1.8

build.xml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<!-- Default property values, if not overridden elsewhere: -->
1616
<property name='build' location='build' />
17-
<property name='app.version' value='0.1.0'/>
17+
<property name='app.version' value='0.1.1'/>
1818
<property name='app.name' value='JavaStockQuotes'/>
1919
<property name='distro-name' value='java-stock-quotes-${app.version}'/>
2020
<tstamp><format property='build.time' pattern='yyyy-MM-dd HH:mm:ss'/></tstamp>
@@ -67,11 +67,11 @@
6767
</delete>
6868
<mkdir dir="${build}/javadoc"/>
6969
<mkdir dir="${build}/dist"/>
70-
<mkdir dir="${build}/templates"/>
70+
<!--<mkdir dir="${build}/templates"/>-->
7171
</target>
7272

7373
<target name='compile' description='Compile source files and place beside source.'>
74-
<javac srcdir="src">
74+
<javac srcdir="src" debug="true" debuglevel="lines,vars,source">
7575
<classpath refid='compile.classpath'/>
7676
</javac>
7777
<!-- Here's a simple way of debugging a path, fileset, or patternset, using its refid: -->
@@ -120,12 +120,21 @@
120120
<header><![CDATA[<h1>${app.name} ${app.version}</h1>]]></header>
121121
</javadoc>
122122
</target>
123-
124-
<target name='distro-binary' description='Create zip file with executable jar, docs.' depends='jar, javadoc'>
123+
124+
<target name="copy-js" description="Copy JavaScript files for GenericFetcher">
125+
<copy todir="${build}/dist/js/">
126+
<fileset dir="js/">
127+
<exclude name="finanzennet.js"/>
128+
</fileset>
129+
</copy>
130+
</target>
131+
132+
<target name='distro-binary' description='Create zip file with executable jar, docs.' depends='jar, javadoc, copy-js'>
125133
<zip destfile='${build}/dist/${distro-name}-binary.zip' duplicate='preserve'>
126134
<zipfileset dir='${build}/dist/' includes='${distro-name}.jar'/>
135+
<zipfileset dir='${build}/dist/js' prefix='js' />
127136
<zipfileset dir='${build}/javadoc' prefix='javadoc' />
128-
<zipfileset dir='${build}/templates' includes='README.txt'/>
137+
<!--<zipfileset dir='${build}/templates' includes='README.txt'/>-->
129138
</zip>
130139
</target>
131140

@@ -137,7 +146,7 @@
137146
</target>
138147

139148
<target name='all' description='Create all build artifacts.'
140-
depends='clean, compile, test, jar, javadoc, distro-binary, distro-source'>
149+
depends='clean, compile, test, jar, javadoc, copy-js, distro-binary, distro-source'>
141150
<echo>Finished creating all build artifacts.</echo>
142151
</target>
143152

0 commit comments

Comments
 (0)