Hey Jason, Jython isn't my cup of tea but I tried this just now on my Ubuntu system (after apt-get install jython):
jython test.py *sys-package-mgr*: processing new jar, '/home/koen/project/jwt/git/jwt/dist/jwt-3.3.1.jar' ----------NOT OK----------- ['WPdfImage'] -------------OK------------ ['AbstractEventSignal', 'AbstractJSignal', 'AbstractSignal', 'AlignmentFlag', 'AnchorTarget', 'BrushStyle', 'CheckState', 'Configuration', 'Coordinates', 'Cursor', 'DomElement', 'DomElementType', 'DropAction', 'ElementThemeRole', 'EntryPointType', 'EscapeOStream', 'EventSignal', 'EventSignal1', 'EventType', 'FileUtils', 'GradientStyle', 'HeaderFlag', 'Icon', 'ItemDataRole', 'ItemFlag', 'JSignal', 'JSignal1', 'JSignal2', 'JSignal3', 'JSignal4', 'JSignal5', 'JSignal6', 'JSlot', 'JavaScriptObjectType', 'JavaScriptScope', 'Key', 'KeyboardModifier', 'LayoutDirection', 'MatchOptions', 'MetaHeaderType', 'Method', 'Orientation', 'PaintFlag', 'PenCapStyle', 'PenJoinStyle', 'PenStyle', 'PopupWindow', 'PositionScheme', 'Property', 'RenderFlag', 'SelectionBehavior', 'SelectionFlag', 'SelectionMode', 'ServletApi', 'ServletInit', 'Side', 'Signal', 'Signal1', 'Signal2', 'Signal3', 'Signal4', 'Signal5', 'Signal6', 'SortOrder', 'StandardButton', 'StringUtils', 'TextFlag', 'TextFormat', 'Touch', 'Utils', 'ValidationStyleFlag', 'ViewItemRenderFlag', 'WAbstractArea', 'WAbstractEvent', 'WAbstractItemDelegate', 'WAbstractItemModel', 'WAbstractItemView', 'WAbstractListModel', 'WAbstractMedia', 'WAbstractProxyModel', 'WAbstractSpinBox', 'WAbstractTableModel', 'WAbstractToggleButton', 'WAggregateProxyModel', 'WAnchor', 'WAnimation', 'WApplication', 'WAudio', 'WBatchEditProxyModel', 'WBootstrapTheme', 'WBorder', 'WBorderLayout', 'WBoxLayout', 'WBreak', 'WBrush', 'WButtonGroup', 'WCalendar', 'WCanvasPaintDevice', 'WCheckBox', 'WCircleArea', 'WColor', 'WCombinedLocalizedStrings', 'WComboBox', 'WCompositeWidget', 'WContainerWidget', 'WCssDecorationStyle', 'WCssRule', 'WCssStyleSheet', 'WCssTemplateRule', 'WCssTextRule', 'WCssTheme', 'WDate', 'WDateEdit', 'WDatePicker', 'WDateValidator', 'WDefaultLoadingIndicator', 'WDeferred', 'WDialog', 'WDoubleSpinBox', 'WDoubleValidator', 'WDropEvent', 'WEnumModel', 'WEnvironment', 'WEvent', 'WException', 'WFileResource', 'WFileUpload', 'WFlashObject', 'WFont', 'WFontMetrics', 'WFormModel', 'WFormWidget', 'WGestureEvent', 'WGoogleMap', 'WGradient', 'WGridLayout', 'WGroupBox', 'WHBoxLayout', 'WIconPair', 'WImage', 'WInPlaceEdit', 'WIntValidator', 'WInteractWidget', 'WItemDelegate', 'WItemModel', 'WItemSelectionModel', 'WJavaScriptPreamble', 'WKeyEvent', 'WLabel', 'WLayout', 'WLayoutItem', 'WLayoutItemImpl', 'WLength', 'WLengthValidator', 'WLineEdit', 'WLineF', 'WLink', 'WLoadingIndicator', 'WLocalizedStrings', 'WMediaPlayer', 'WMemoryResource', 'WMenu', 'WMenuItem', 'WMessageBox', 'WModelIndex', 'WMouseEvent', 'WNavigationBar', 'WObject', 'WOverlayLoadingIndicator', 'WPaintDevice', 'WPaintedWidget', 'WPainter', 'WPainterPath', 'WPanel', 'WPen', 'WPoint', 'WPointF', 'WPolygonArea', 'WPopupMenu', 'WPopupWidget', 'WProgressBar', 'WPushButton', 'WRadioButton', 'WRasterPaintDevice', 'WReadOnlyProxyModel', 'WRectArea', 'WRectF', 'WRegExpValidator', 'WResource', 'WScrollArea', 'WScrollBar', 'WScrollEvent', 'WSelectionBox', 'WShadow', 'WSlider', 'WSortFilterProxyModel', 'WSound', 'WSpinBox', 'WSplitButton', 'WStackedWidget', 'WStandardItem', 'WStandardItemModel', 'WStdLocalizedStrings', 'WString', 'WStringListModel', 'WSuggestionPopup', 'WSvgImage', 'WTabWidget', 'WTable', 'WTableCell', 'WTableColumn', 'WTableRow', 'WTableView', 'WTemplate', 'WTemplateFormView', 'WTestEnvironment', 'WText', 'WTextArea', 'WTextEdit', 'WTextItem', 'WTheme', 'WTimer', 'WToolBar', 'WTouchEvent', 'WTransform', 'WTree', 'WTreeNode', 'WTreeTable', 'WTreeTableNode', 'WTreeView', 'WVBoxLayout', 'WValidationStatus', 'WValidator', 'WVectorImage', 'WVideo', 'WViewWidget', 'WVirtualImage', 'WVmlImage', 'WWebWidget', 'WWidget', 'WWidgetItem', 'WXmlLocalizedStrings', 'WidgetThemeRole', 'WtException', 'WtServlet', 'XHtmlFilter', 'XmlMessageParser', '__name__', 'chart', 'render', 'servlet', 'utils'] This looks good? WPdfImage requires an additional library to load which is why I guess it fails? Regards, koen 2013/9/30 Jason H <scorp...@yahoo.com>: > Yes, Java works fine. I tried 1.6 and 1.7, but I am currently running 1.7 > (Win-64) > I got the build error after using git to get head, then ran ant then got > error. > > It is very interesting that downgrading to 3.1.9 fixed it... > > I wrote a Jython script to test it tells you the classes that can be > initialized. Just bychanging the jar, you get really different results: > import sys > sys.path.append("C:\jwt-3.1.9\dist\jwt-3.1.9.jar") # or use 3.3.0's > jwt-3.3.0.jar > sys.path.append("C:\jwt-3.1.9\dist\commons-io-1.4.jar") #this file is not > part of 3.3.0 > import eu.webtoolkit.jwt > > ok = [] > notok = [] > for x in dir(eu.webtoolkit.jwt): > try: > y = dir(eval('eu.webtoolkit.jwt.'+x)) > ok.append(x) > except: > notok.append(x) > > print "----------NOT OK-----------" > print notok > print "-------------OK------------" > print ok > > > > ________________________________ > From: Koen Deforche <k...@emweb.be> > To: Jason H <scorp...@yahoo.com> > Sent: Monday, September 30, 2013 9:45 AM > > Subject: Re: [Wt-interest] Can't buid with 'ant' > > Hey Jason, > > Can you reply to the mailinglist? So the discussion may be of use to other > users later (with similar problems) > > 2013/9/27 Jason H <scorp...@yahoo.com> > > I have had many issues. I'll sum them up for you. > 1. Could not build HEAD > 2. Could build 3.3.0 > These were attempted because 3.3.0 didn't work within Jython. And, maybe > Java. I did not try Java directly. But I can only speak to Jython. > > > Are we sure your Java installation works fine? What Java version do you use? > What platform are you on? > And to be clear: if you download a JWt package, you unzip it and run ant, > you already git this error? > > What if you run 'ant clean' first and then 'ant'? > > Regards, > koen > > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest