RE: Problem with TiniHttpServer

"Kelly Smith" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Dear Doc Gloumy - Re: "But i have this line in my build.properties :
dependency.classpath=C:\ant141\bin\BuildDependencySrc.jar"

Whooops!  You don't want, or need a path to (example),
C:\Tini\tini1.12\src\BuildDependencySrc.jar.  You need to be point your
classpath into the \bin directory.

"BuildDependency", allows for all kinds of user-specified dependent
files to be built into the TINI application (typically 1-Wire devices), as
used in TiniHttpServer as "examples".  Read BuildDependency.txt for details.
And example compile command line would be something like:

java BuildDependency -f ReadClock.class -o clock.tini -d tini.db -add
OneWireContainer04;OneWireContainer21 -x owapi_dep.txt

If the build fails or to see more of what BuildDependency is doing, add the
'-debug' switch.

In the TINI SDK's \bin directory, is tini.jar which contains
BuildDependency.class.  DalSemi lets you have the Java source to ADD YOUR
DEPENDENCYS, that may be unique to you.

Sooo...(Given all that):

Make sure that you have your PCs environment variables setup, something like
this (what I use on Windoze 2000)... watchout for "line-wrap" on the
email...some of these "strings" are long!.

ANT_HOME

C:\ant

JAVA_HOME

C:\j2sdk1.4.1_01

classpath

C:\ant\lib\TiniAnt.jar;C:\ant\lib\ant.jar;C:\j2sdk1.4.1_01\bin;C:\j2sdk1.4.1
_01\jre\lib\rt.jar;C:\j2sdk1.4.1_01\lib\tools.jar;C:\j2sdk1.4.1_01\lib\comm.
jar;C:TINI\tini1.02\bin\tini.jar;JavaKit

Path

C:\;C:\ant\bin;C:\j2sdk1.4.1_01\bin\;%SystemRoot%\system32;%SystemRoot%;%Sys
temRoot%\System32\Wbem


Make sure that the build.properties file is something similar, to this:

# Set "tini.dir" to your TINI installation directory.
#
# NOTE: Be sure to use forward slashes (as shown) even on Windows!

tini.dir=C:/Tini/tini1.12

################
#
# Set "servlet.jar" to the absolute name of the servlet.jar file from JSDK
2.2.
#
# NOTE: Be sure to use forward slashes (as shown) even on Windows!

servlet.jar=C:/j2sdk1.4.2_01/lib/servlet.jar

Best regards, Kelly Smith

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of
Doc Gloumy
Sent: Tuesday, April 13, 2004 1:35 PM
To: tini-6tN4nzCoH/[email protected]
Subject: [TINI]Problem with TiniHttpServer


I have a directory with all my needed files, and when i run ant in dos
mode, it returns me this line :
C:\ant141\bin\build.xml:133: Could not find BuildDependency. Make sure
you have it in your classpath

But i have this line in my build.properties :
dependency.classpath=C:\ant141\bin\BuildDependencySrc.jar

Wath os the BuildDependency. ? the file BuildDependencySrc.jar is in the
Tini Firmware Package, is it the good ?

Thx for help

--
/**************************************************
GARCIA Patrick alias Doc Gloumy
BTS Informatique et Reseaux pour l'Industrie et les Services
Port : 06-89-51-54-01 Tel : 05-61-07-65-58
Trésorier, electricien,
Responsable logistique et materiel de PcRézoo
www.pcrezoo.net
[email protected]
ICQ : 94469133
MSN : [email protected]
**************************************************/




_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.