BuildDependency name bug?
Shawn Silverman <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
There's some strangeness with BuildDependency as follows. I'll describe my (briefly) steps: 1) I'm using the <tini> TiniAnt task. 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. 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). 6) The "ShutdownServlet" class now works properly. I'd like to emphasize that the only difference between "works" and "doesn't work" in the whole process is the inclusion of that dependency group line in my dependencies text file. Took me 6 hours to find.. Thanks, -Shawn [P.S. Just in case it was missed, there is a file descriptor bug here: http://lists.dalsemi.com/maillists/tini/2003-December/029990.html] _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini