You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "carsten madsen (JIRA)" <co...@jakarta.apache.org> on 2004/11/26 14:23:22 UTC

[jira] Created: (JELLY-168) jelly-tags/swing can not build

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?

[com@dell 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-168) jelly-tags/swing can not build

Posted by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org>.
     [ http://nagoya.apache.org/jira/browse/JELLY-168?page=comments#action_55967 ]
     
Paul Libbrecht commented on JELLY-168:
--------------------------------------

Sorry, I was too quick with my tests... I can run "maven jar" in jdk 1.5 once the install-snapshot is done... I just had to have the DISPLAY variable defined, which I didn't have.
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?
> [com@dell 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-168) jelly-tags/swing can not build

Posted by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org>.
     [ http://nagoya.apache.org/jira/browse/JELLY-168?page=comments#action_55887 ]
     
Paul Libbrecht commented on JELLY-168:
--------------------------------------

I really tried and really can't reproduce your bug.
I tried the latest CVS status and the release version.
I also tried with maven-1.0 and maven-1.0.1.
In all cases, it compiles and tests fine.

What surprises me is that you are talking about jelly version beta-4 in your report but there's no such thing as jelly-swing-beta-4 and the download that I see available. jelly-swing-1.0 src jar is available from the taglib webpage (but there's no project.xml).

So... can you give more details which version you are trying to build ?

thanks

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?
> [com@dell 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-168) jelly-tags/swing can not build

Posted by "carsten madsen (JIRA)" <co...@jakarta.apache.org>.
     [ http://nagoya.apache.org/jira/browse/JELLY-168?page=comments#action_55964 ]
     
carsten madsen commented on JELLY-168:
--------------------------------------

I got jelly from the CVS rep. I only fetched the jelly module from cvs.

cvs co jakarta-commons/jelly

with:

CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic

Doing a cvs log project.properties gives:

RCS file: /home/cvspublic/jakarta-commons/jelly/project.properties,v
Working file: project.properties
head: 1.27
branch:
locks: strict
access list:
symbolic names:
        COMMONS_JELLY-1_0_RC1: 1.27
        COMMONS-JELLY-1_0-beta-4: 1.27
        JELLY_PRE_EXCEPTION_REFACTOR: 1.15
keyword substitution: o
total revisions: 27;    selected revisions: 27
description:

Is this enough information?

/carsten

> 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?
> [com@dell 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (JELLY-168) jelly-tags/swing can not build

Posted by "Paul Libbrecht (JIRA)" <co...@jakarta.apache.org>.
     [ 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?
> [com@dell 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Closed: (JELLY-168) jelly-tags/swing can not build

Posted by "dion gillard (JIRA)" <co...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/JELLY-168?page=history ]
     
dion gillard closed JELLY-168:
------------------------------

     Resolution: Fixed
    Fix Version: 1.0-RC2

I believe this is fixed.

> jelly-tags/swing can not build
> ------------------------------
>
>          Key: JELLY-168
>          URL: http://issues.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
>      Fix For: 1.0-RC2

>
> When trying to build jelly-tags/swing I get the following error. Seems like the jelly test stuff is not in the jar file?
> [com@dell 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://issues.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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org