[ 
http://nagoya.apache.org/jira/browse/JELLY-168?page=comments#action_55965 ]
     
Paul Libbrecht commented on JELLY-168:
--------------------------------------

Things are actually quite dark.

 http://www.ibiblio.org/commons-jelly/jars/commons-jelly-SNAPSHOT.jar

supposedly the daily snapshot, dates back from Sept 16th... which explains the 
compilation errors. Is this GUMP produced ?

So the normal thing should be react as if the repository did not have 
commons-jelly, and use "maven jar:install-snapshot" in the jelly directory.
This seems, however, to fail on JDK 1.5. But works with JDK 1.4 (both tested on 
Linux, also works on MacOSX JDK 1.4).

The same test-error (TestXXXTags) happens to fail in Jelly-Swing in JDK 1.5 and 
succeeds in JDK 1.4 (once the snapshot is installed).

Carsten, you're left to install a 1.4, sorry.
And I'll decompose this bug.

paul

> jelly-tags/swing can not build
> ------------------------------
>
>          Key: JELLY-168
>          URL: http://nagoya.apache.org/jira/browse/JELLY-168
>      Project: jelly
>         Type: Bug
>   Components: taglib.swing
>     Versions: 1.0-beta-4
>  Environment: Linux 2.6.8-1.521
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
>     Reporter: carsten madsen
>     Priority: Minor

>
> When trying to build jelly-tags/swing I get the following error. Seems like 
> the jelly test stuff is not in the jar file?
> [EMAIL PROTECTED] swing]$ maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.1
> Attempting to download commons-jelly-SNAPSHOT.jar.
> build:start:
> java:prepare-filesystem:
> java:compile:
>     [echo] Compiling to 
> /opt/jakarta-commons/jelly/jelly-tags/swing/target/classes
> java:jar-resources:
> test:prepare-filesystem:
> test:test-resources:
> test:compile:
>     [javac] Compiling 5 source files to 
> /opt/jakarta-commons/jelly/jelly-tags/swing/target/test-classes
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:39:
>  package org.apache.commons.jelly.test does not exist
> import org.apache.commons.jelly.test.BaseJellyTest;
>                                      ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:45:
>  cannot find symbol
> symbol: class BaseJellyTest
> public class TestSwingTags extends BaseJellyTest {
>                                    ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:65:
>  cannot find symbol
> symbol  : method getJellyContext()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         JellyContext context = getJellyContext();
>                                ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:67:
>  cannot find symbol
> symbol  : method assertEquals(java.awt.Dimension,java.awt.Dimension)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(new Dimension(100,100), frame.getSize());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:68:
>  cannot find symbol
> symbol  : method assertEquals(java.awt.Point,java.awt.Point)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(new Point(200,200), frame.getLocation());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:71:
>  cannot find symbol
> symbol  : method assertNotNull(javax.swing.JButton)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertNotNull(button);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:72:
>  cannot find symbol
> symbol  : method assertEquals(java.awt.Color,java.awt.Color)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(new Color(0x11,0x22,0x33), button.getBackground());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:73:
>  cannot find symbol
> symbol  : method assertEquals(java.awt.Color,java.awt.Color)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(new Color(0x44,0x55,0x66), button.getForeground());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:74:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(DebugGraphics.FLASH_OPTION|DebugGraphics.LOG_OPTION, 
> panel.getDebugGraphicsOptions());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:75:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(DebugGraphics.BUFFERED_OPTION, 
> button.getDebugGraphicsOptions());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:85:
>  cannot find symbol
> symbol  : method getJellyContext()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         JellyContext context = getJellyContext();
>                                ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:93:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(GridBagConstraints.NORTH,constraints.anchor);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:94:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(GridBagConstraints.VERTICAL, constraints.fill);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:95:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(3, constraints.gridheight);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:96:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(2, constraints.gridwidth);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:97:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(4, constraints.gridx);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:98:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(5, constraints.gridy);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:99:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(7, constraints.ipadx);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:100:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(8, constraints.ipady);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:101:
>  cannot find symbol
> symbol  : method assertEquals(double,double,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(0.3, constraints.weightx, 0);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:102:
>  cannot find symbol
> symbol  : method assertEquals(java.awt.Insets,java.awt.Insets)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(new Insets(1,2,3,4), constraints.insets);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:103:
>  cannot find symbol
> symbol  : method assertEquals(double,double,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(0.6, constraints.weighty, 0);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:106:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(1, constraints2.gridx);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:107:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(2, constraints2.gridy);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:108:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(2, constraints2.ipadx);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:109:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(9, constraints2.ipady);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:110:
>  cannot find symbol
> symbol  : method assertEquals(java.awt.Insets,java.awt.Insets)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(new Insets(3,4,5,6), constraints2.insets);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:117:
>  cannot find symbol
> symbol  : method getJellyContext()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>             JellyContext context = getJellyContext();
>                                    ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:123:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>             assertEquals(21,constraints.anchor);
>             ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:135:
>  cannot find symbol
> symbol  : method fail(java.lang.String)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         fail("Should have thrown an exception for a bad GBC anchor");
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:141:
>  cannot find symbol
> symbol  : method getJellyContext()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         JellyContext context = getJellyContext();
>                                ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:143:
>  cannot find symbol
> symbol  : method assertEquals(int,int)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertEquals(3, bg.getButtonCount());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:144:
>  cannot find symbol
> symbol  : method assertNotNull(javax.swing.ButtonModel)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         assertNotNull(bg.getSelection());
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:155:
>  cannot find symbol
> symbol  : method fail(java.lang.String)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         fail("Should have thrown an exception due to an invalid bean 
> property.");
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:159:
>  cannot find symbol
> symbol  : method setUpScript(java.lang.String)
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         setUpScript("swingTags.jelly");
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:160:
>  cannot find symbol
> symbol  : method getJelly()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         Script script = getJelly().compileScript();
>                         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:161:
>  cannot find symbol
> symbol  : method getJellyContext()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         getJellyContext().getVariables().clear();
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:162:
>  cannot find symbol
> symbol  : method getJellyContext()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         getJellyContext().setVariable(testName,Boolean.TRUE);
>         ^
> /opt/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/TestSwingTags.java:163:
>  cannot find symbol
> symbol  : method getJellyContext()
> location: class org.apache.commons.jelly.swing.TestSwingTags
>         script.run(getJellyContext(),getXMLOutput());
>                    ^
> 39 errors
> BUILD FAILED
> File...... /home/com/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
> Element... javac
> Line...... 52
> Column.... 46
> Compile failed; see the compiler error output for details.
> Total time: 13 seconds
> Finished at: Fri Nov 26 14:20:06 CET 2004

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to