RE: TiniHttpServer

"Kelly Smith" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Dear Doc -

In 'build.xml', you will find the reference to the properties:

  <property name="tini.onewire.jar"
value="${tini.dir}/bin/owapi_dependencies_TINI.jar"/>

This is where '', is located (in the TINI SDK \bin directory; or SHOULD
BE!).

Also, is:

  <property file="build.properties"/>

Now, your 'build.properties' file needs to reference the TINI SDG (either
1.02x or 1.1x), as:

# 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

...as you can see, I am using the path to the TINI SDK directory, as
'tini1.12'.

You MUST have this path set (somehow)!

I suspect that TiniHttpServer will compile and TINI "convert" with no
problem, if you just do the above...

But, I still recommend Shawn Silverman's Tynamo (TINI Web-Server), over
David McMahon's TiniHttpServer.  TiniHttpServer, has been pretty much
unsupported for over a year now, while Shawn continues to "enhance" Tynamo,
every few months.  The added PLUS, is that Tynamo also runs 2 to 3 times
faster than the equivalent servlets running on TiniHttpServer, and supports
other Java (JVM) embedded platforms... And, oh yah! Its virtually
bullet-proof!

Just IMHO.  Ref:  http://tynamo.qindesign.com/

Best regards, Kelly Smith


Best regards, Kelly Smith

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:tini-admin-6tN4nzCoH/[email protected]]On Behalf Of
Doc Gloumy
Sent: Friday, May 21, 2004 2:56 PM
To: tini-6tN4nzCoH/[email protected]
Subject: Re: [TINI]TiniHttpServer


My error was this : I've delete this servlet in my build.properties :

src.files= \
	SnoopServlet.java, \
	SessionServlet.java, \
	AuthenticatedServlet.java, \
	BackupServlet.java, \
	OneWireServlet.java, \
	FamilyCode10Servlet.java, \
	FamilyCode12Servlet.java, \
	FamilyCode20Servlet.java, \
	TiniServlet.java, \
	HelloServlet

Now I try to compile but i have errors, and verify my build.properties but i
dont know why it donf find the container classes, this is my dos results :


C:\ant141\bin>ant
Buildfile: build.xml

init:

check jdk:

check jsdk:

check tiniant:

check tiniant version:

check tini:

check tools:

setup:

tini:
    [javac] Compiling 41 source files to C:\ant141\bin\classes.tini
    [javac] C:\ant141\bin\src\FamilyCode10Servlet.java:37: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer10
    [javac] location: package container
    [javac] import com.dalsemi.onewire.container.OneWireContainer10;
    [javac]                                      ^
    [javac] C:\ant141\bin\src\FamilyCode10Servlet.java:90: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer10
    [javac] location: class FamilyCode10Servlet
    [javac]             PrintWriter pw, DSPortAdapter pa, OneWireContainer10
ib)
    [javac]                                                   ^
    [javac] C:\ant141\bin\src\FamilyCode12Servlet.java:37: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer12
    [javac] location: package container
    [javac] import com.dalsemi.onewire.container.OneWireContainer12;
    [javac]                                      ^
    [javac] C:\ant141\bin\src\FamilyCode12Servlet.java:121: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer12
    [javac] location: class FamilyCode12Servlet
    [javac]             OneWireContainer12 ib,
    [javac]                 ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:38: cannot resolve symbol
    [javac] symbol  : class MemoryBank
    [javac] location: package container
    [javac] import com.dalsemi.onewire.container.MemoryBank;
    [javac]                                      ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:39: cannot resolve symbol
    [javac] symbol  : class OTPMemoryBank
    [javac] location: package container
    [javac] import com.dalsemi.onewire.container.OTPMemoryBank;
    [javac]                                      ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:40: cannot resolve symbol
    [javac] symbol  : class PagedMemoryBank
    [javac] location: package container
    [javac] import com.dalsemi.onewire.container.PagedMemoryBank;
    [javac]                                      ^
    [javac] C:\ant141\bin\src\FamilyCode10Servlet.java:75: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer10
    [javac] location: class FamilyCode10Servlet
    [javac]                     OneWireContainer10 ib = new
OneWireContainer10();
    [javac]                         ^
    [javac] C:\ant141\bin\src\FamilyCode10Servlet.java:75: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer10
    [javac] location: class FamilyCode10Servlet
    [javac]                     OneWireContainer10 ib = new
OneWireContainer10();
    [javac]                                                     ^
    [javac] C:\ant141\bin\src\FamilyCode12Servlet.java:104: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer12
    [javac] location: class FamilyCode12Servlet
    [javac]                     OneWireContainer12 ib = new
OneWireContainer12();
    [javac]                         ^
    [javac] C:\ant141\bin\src\FamilyCode12Servlet.java:104: cannot resolve
symbol
    [javac] symbol  : class OneWireContainer12
    [javac] location: class FamilyCode12Servlet
    [javac]                     OneWireContainer12 ib = new
OneWireContainer12();
    [javac]                                                     ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:268: cannot resolve symbol
    [javac] symbol  : class MemoryBank
    [javac] location: class OneWireServlet
    [javac]                 MemoryBank mb =
(MemoryBank)(bankEnum.nextElement());
    [javac]                     ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:268: cannot resolve symbol
    [javac] symbol  : class MemoryBank
    [javac] location: class OneWireServlet
    [javac]                 MemoryBank mb =
(MemoryBank)(bankEnum.nextElement());
    [javac]                                      ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:300: cannot resolve symbol
    [javac] symbol  : class MemoryBank
    [javac] location: class OneWireServlet
    [javac]             MemoryBank mb = null;
    [javac]                 ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:305: cannot resolve symbol
    [javac] symbol  : class MemoryBank
    [javac] location: class OneWireServlet
    [javac]                 mb = (MemoryBank)(bankEnum.nextElement());
    [javac]                           ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:339: cannot resolve symbol
    [javac] symbol  : class PagedMemoryBank
    [javac] location: class OneWireServlet
    [javac]             if( mb instanceof PagedMemoryBank)
    [javac]                                   ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:341: cannot resolve symbol
    [javac] symbol  : class PagedMemoryBank
    [javac] location: class OneWireServlet
    [javac]                 PagedMemoryBank pmb = (PagedMemoryBank)mb;
    [javac]                     ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:341: cannot resolve symbol
    [javac] symbol  : class PagedMemoryBank
    [javac] location: class OneWireServlet
    [javac]                 PagedMemoryBank pmb = (PagedMemoryBank)mb;
    [javac]                                            ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:365: cannot resolve symbol
    [javac] symbol  : class OTPMemoryBank
    [javac] location: class OneWireServlet
    [javac]             if( mb instanceof OTPMemoryBank)
    [javac]                                   ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:367: cannot resolve symbol
    [javac] symbol  : class OTPMemoryBank
    [javac] location: class OneWireServlet
    [javac]                 OTPMemoryBank otpmb = (OTPMemoryBank)mb;
    [javac]                     ^
    [javac] C:\ant141\bin\src\OneWireServlet.java:367: cannot resolve symbol
    [javac] symbol  : class OTPMemoryBank
    [javac] location: class OneWireServlet
    [javac]                 OTPMemoryBank otpmb = (OTPMemoryBank)mb;
    [javac]                                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 21 errors

BUILD FAILED

C:\ant141\bin\build.xml:122: Compile failed, messages should have been
provided.


Total time: 2 seconds
C:\ant141\bin>


What are lacking classes ? Can I add these to solve the problem ?

Thx for your 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.