[ 
https://jira.codehaus.org/browse/MWEBLOGIC-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jon Osborn resolved MWEBLOGIC-3.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.4-SNAPSHOT

new release. Confirmed to work on WLS 10.3.2 and 10.3.3. The older 'clientgen' 
task was removed because it is not compatible with 10.x
                
> In the weblogic-maven-plugin, the clientgen and clientgen9 goals do not work 
> on Weblogic 10.3
> ---------------------------------------------------------------------------------------------
>
>                 Key: MWEBLOGIC-3
>                 URL: https://jira.codehaus.org/browse/MWEBLOGIC-3
>             Project: Mojo's Maven plugin for WebLogic
>          Issue Type: Bug
>         Environment: Windows, x86, Weblogic 10.3, weblogic-maven-plugin 
> 2.9.2-SNAPSHOT
>            Reporter: Tim Myer
>            Assignee: Jon Osborn
>            Priority: Minor
>             Fix For: 2.9.4-SNAPSHOT
>
>         Attachments: patch.txt
>
>
> If I try to run the weblogic:clientgen9 goal with a Weblogic 10.3 
> installation, I get the following error:
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal 
> 'org.codehaus.mojo:weblogic-maven-plugin:2.9.2-SNAPSHOT:clientgen9': Unable 
> to find the mojo 'clientgen9' (or one of its required components) in the 
> plugin 'org.codehaus.mojo:weblogic-maven-plugin'
> (class: org/codehaus/mojo/weblogic/ClientGen9Mojo, method: execute signature: 
> ()V) Incompatible object argument for function call
> [INFO] 
> ------------------------------------------------------------------------
> It appears that the weblogic API has changed very slightly so there are 
> compilation errors in the ClientGen9 java file when using Weblogic 10.3 
> dependencies.  
>   Delete "clientGen.setOverwrite( true );"
>   Change "clientGen.setDestdir( new File( this.outputDir ) );" to 
> clientGen.setDestDir( new File( this.outputDir ) );"
> There is also a NullPointerException that occurs when clearing a system 
> property in WeblogicMojoUtilities.java.  
> The attached patch (which can be run from the root of the 
> weblogic-maven-plugin project) sets up a new goal (clientgen10), provides a 
> test case, corrects the NullPointerException, and updates the plug-in's 
> version number.
> I hope this helps.  Thanks for the great plug-in!
> ---Tim---

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to