You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Natalia Kowalczyk (JIRA)" <ca...@jakarta.apache.org> on 2005/07/09 15:57:13 UTC

[jira] Created: (CACTUS-220) Integration with HtmlUnit

Integration with HtmlUnit
-------------------------

         Key: CACTUS-220
         URL: http://issues.apache.org/jira/browse/CACTUS-220
     Project: Cactus
        Type: New Feature
    Versions: 1.7    
    Reporter: Natalia Kowalczyk
    Priority: Minor
 Attachments: WebResponseObjectFactory.diff

Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Updated: (CACTUS-220) Integration with HtmlUnit

Posted by "Nicolas Chalumeau (JIRA)" <ca...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/CACTUS-220?page=all ]

Nicolas Chalumeau updated CACTUS-220:
-------------------------------------

    Attachment: TestHtmlUnitIntegration.java

Here is a test case for this issue. I also modify in differant location classpath/dependancies to make the build work and the test pass (it work on my system) but i can't attach the patch ATM as I am offline and can't make any diff so the patch arrive this weekend.

> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Priority: Minor
>  Attachments: TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Updated: (CACTUS-220) Integration with HtmlUnit

Posted by "Natalia Kowalczyk (JIRA)" <ca...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/CACTUS-220?page=all ]

Natalia Kowalczyk updated CACTUS-220:
-------------------------------------

    Attachment: WebResponseObjectFactory.diff

CVS diff of WebResponseObjectFactory with a patch

> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Priority: Minor
>  Attachments: WebResponseObjectFactory.diff
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Assigned: (CACTUS-220) Integration with HtmlUnit

Posted by "Nicolas Chalumeau (JIRA)" <ca...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/CACTUS-220?page=all ]

Nicolas Chalumeau reassigned CACTUS-220:
----------------------------------------

    Assign To: Nicolas Chalumeau

> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Assignee: Nicolas Chalumeau
>     Priority: Minor
>  Attachments: TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff, patchHtmlunit.txt
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Updated: (CACTUS-220) Integration with HtmlUnit

Posted by "Nicolas Chalumeau (JIRA)" <ca...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/CACTUS-220?page=all ]

Nicolas Chalumeau updated CACTUS-220:
-------------------------------------

    Fix Version: 1.8

I will commit the patch this week end

> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Assignee: Nicolas Chalumeau
>     Priority: Minor
>      Fix For: 1.8
>  Attachments: TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff, patchHtmlunit.txt
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Commented: (CACTUS-220) Integration with HtmlUnit

Posted by "Vincent Massol (JIRA)" <ca...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/CACTUS-220?page=comments#action_12315403 ] 

Vincent Massol commented on CACTUS-220:
---------------------------------------

Thanks Natakia, that's a great patch. Do you think you could add some junit tests in samples/servlet that proves that it works? Also, it would be great if you could submit some doco patch (they're in documentation/docs/xdocs). Having all this will make is much faster to apply your patch as otherwise we'll need to write all those. Thanks again for this very useful patch!

> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Priority: Minor
>  Attachments: WebResponseObjectFactory.diff
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Updated: (CACTUS-220) Integration with HtmlUnit

Posted by "Felipe Leme (JIRA)" <ca...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/CACTUS-220?page=all ]

Felipe Leme updated CACTUS-220:
-------------------------------

    Assign To:     (was: Nicolas Chalumeau)

> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Priority: Minor
>      Fix For: 1.8
>  Attachments: TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff, patchHtmlunit.txt
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Resolved: (CACTUS-220) Integration with HtmlUnit

Posted by "Petar Tahchiev (JIRA)" <ca...@jakarta.apache.org>.
     [ https://issues.apache.org/jira/browse/CACTUS-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petar Tahchiev resolved CACTUS-220.
-----------------------------------

    Resolution: Fixed
      Assignee: Petar Tahchiev

Already integrated in the SVN HEAD. We will have to think of a better integration for the future. I am closing this issue now and will open one after we release Cactus 1.8.

> Integration with HtmlUnit
> -------------------------
>
>                 Key: CACTUS-220
>                 URL: https://issues.apache.org/jira/browse/CACTUS-220
>             Project: Cactus
>          Issue Type: New Feature
>    Affects Versions: 1.7
>            Reporter: Natalia Kowalczyk
>            Assignee: Petar Tahchiev
>            Priority: Minor
>             Fix For: 1.8
>
>         Attachments: patchHtmlunit.txt, TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff
>
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Closed: (CACTUS-220) Integration with HtmlUnit

Posted by "Petar Tahchiev (JIRA)" <ca...@jakarta.apache.org>.
     [ https://issues.apache.org/jira/browse/CACTUS-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petar Tahchiev closed CACTUS-220.
---------------------------------


> Integration with HtmlUnit
> -------------------------
>
>                 Key: CACTUS-220
>                 URL: https://issues.apache.org/jira/browse/CACTUS-220
>             Project: Cactus
>          Issue Type: New Feature
>    Affects Versions: 1.7
>            Reporter: Natalia Kowalczyk
>            Assignee: Petar Tahchiev
>            Priority: Minor
>             Fix For: 1.8
>
>         Attachments: patchHtmlunit.txt, TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff
>
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Commented: (CACTUS-220) Integration with HtmlUnit

Posted by "Felipe Leme (JIRA)" <ca...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/CACTUS-220?page=comments#action_12362784 ] 

Felipe Leme commented on CACTUS-220:
------------------------------------

While I was testing Cactus's samples, I got this error testing on Tomcat 5:

[cactustests] Null Test:        Caused an ERROR
[cactustests] com/gargoylesoftware/htmlunit/WebResponse
[cactustests] java.lang.NoClassDefFoundError: com/gargoylesoftware/htmlunit/WebResponse
[cactustests]   at java.lang.Class.getDeclaredMethods0(Native Method)
[cactustests]   at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
[cactustests]   at java.lang.Class.getMethod0(Class.java:2611)
[cactustests]   at java.lang.Class.getMethod(Class.java:1579)

It probably means we didn't bundle a jar needed by HTML Unit...




> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Priority: Minor
>      Fix For: 1.8
>  Attachments: TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff, patchHtmlunit.txt
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[jira] Commented: (CACTUS-220) Integration with HtmlUnit

Posted by "Felipe Leme (JIRA)" <ca...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/CACTUS-220?page=comments#action_12362785 ] 

Felipe Leme commented on CACTUS-220:
------------------------------------

Nope, that class has no external dependency; looks like a classloader issue then...

> Integration with HtmlUnit
> -------------------------
>
>          Key: CACTUS-220
>          URL: http://issues.apache.org/jira/browse/CACTUS-220
>      Project: Cactus
>         Type: New Feature
>     Versions: 1.7
>     Reporter: Natalia Kowalczyk
>     Priority: Minor
>      Fix For: 1.8
>  Attachments: TestHtmlUnitIntegration.java, WebResponseObjectFactory.diff, patchHtmlunit.txt
>
> Cactus could integrate with HtmlUnit in the same fashion it does with HttpUnit. HtmlUnit recognizes more HTML object as scriptable and thus offers better JavaScript processing.
> Attaching a patch for the WebResponseObjectFactory class.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org