Re: BuildDependency name bug?

"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <004d01c3d90f$ea25f9c0$764000b4@kardis>
Shawn
Is this something that can be reproduced without TiniAnt?

> 2) A dependency group with a name of "ShutdownServlet" exists, which
> points to "com.qindesign.servlet.ShutdownServlet", but this is not
> specified to be included in the build.
>
> 3) I have a class called "ShutdownServlet" (full classname), which I can
> sucessfully call Class.forName on, but it doesn't run.  Specifically, I'm
> using it as a servlet in Tynamo.  By "doesn't run", I mean it's
> initialization method does not get called at startup, even though I am
> forcing it.  I am specifically including this class in the reflection
> list.

Do you get a ClassNotFoundException?  If you're not specifying it to be
included in the build this is what I would expect.

>
> 4) Change this class to be "ShutServlet" instead, and the class loads and
> runs normally.
>
> 5) Change the class back to "ShutdownServlet", remove the
> "ShutdownServlet=com.qindesign.servlet.ShutdownServlet" line from my
> dependency groups file (again, it's dormant, and not being included in my
> build; it just exists in the file).

If you look at the debug, can you tell if the class is actually being built
in?

Kris


_______________________________________________
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.