RE: Question - weblogic-maven-plugin - Urgent

2007-07-29 Thread Eric YH WONG
Hi Scott,

 

  I tried other to achieve that (build the ear). Use the WebLogic
Workshop to export the build.xml. And then use the maven-antrun-plugin to
execute that build.xml. The EAR can build successfully.

 



  



  maven-antrun-plugin

  



  package

  



  Building EAR by using WebLogic generated
build.xml

  



  



  

  

run

  



  



  



 

  But there are some problems / questions . 

1)As I used pom. The built EAR don't copy to
Repository, just only copy the pom.xml only. If I change to this
ear. Even the build.xml is executed but Maven will
copy the other EAR (the incorrect one) and POM to the repository. So how can
I solve that ???

2)In the Multiproject case, I have some EJB, Taglib, etc in other
Project. How can I copy it into the WebLogic Application source directory ?

 

 

Thanks,

 

Eric

 

 

 

-Original Message-
From: Scott Ryan [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ryan
Sent: Sunday, July 29, 2007 12:19 AM
To: Maven Users List
Subject: Re: Question - weblogic-maven-plugin - Urgent

 

Appc has been repackaged and has become  very difficult to support.   

I am working on getting support built into the plugin however it  

requires a host of additional libraries that would make the other  

goals a real pain to use.  I will probably post a set of instructions  

on the mojo website on how to set up the proper libraries to run appc  

and then it is really unpredictable.  Since I get no support for this  

plugin from BEA it is some guesswork on my end.  There are a number  

of posts on the mojo list that describe how to get appc working.  If  

you want to work with me to get it working I will be more than happy  

to put it in the plugin.

 

Sorry,

 

Scott Ryan

 

On Jul 27, 2007, at 7:57 PM, Dmitry wrote:

 

> 

> Eric,

> Probably you did not set correct configuration for maven..it's one  

> point.

> Actually its interesting about maven plagin for Workshop.

> Can you sene the link to that plugin i also try to use it.

> 

> thanks,

> dt

> www.ejinz.com

> Search Engine News

>   ----- Original Message -

>   From: Eric YH WONG

>   To: 'Maven Users List'

>   Sent: Friday, July 27, 2007 8:52 PM

>   Subject: Question - weblogic-maven-plugin - Urgent

> 

> 

>   Hi All,

> 

> 

> 

>   Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6,  

> Windows XP SP2. I use WebLogic Workshop (accompany with the  

> WebLogic Platform installer) v8.1.6 to create a new Application and  

> a portal project.

> 

> 

> 

>   Attached the Directory Layout.

> 

> 

> 

>   And I want to use Maven2 to build an EAR, so I created a pom.xml  

> and using "weblogic-maven-plugin" v2.8.0.. When I execute "mvn  

> weblogic:appc" I got errors (see the attached files Debug.txt and  

> Error.txt).

> 

> 

> 

>   Does anyone can help to resolve it ???

> 

> 

> 

>   Thanks,

> 

> 

> 

>   Eric

> 

> 

> 

> 

> 

> 

> 

> -- 

> 

> 

> 

>

> -

>   To unsubscribe, e-mail: [EMAIL PROTECTED]

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

 

Scott Ryan

CTO Soaring Eagle L.L.C.

Denver, Co. 80129

www.soaringeagleco.com

www.theryansplace.com

(303) 263-3044

[EMAIL PROTECTED]

 

 



Question - weblogic-maven-plugin - Urgent

2007-07-27 Thread Eric YH WONG
Hi All,

 

Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP
SP2. I use WebLogic Workshop (accompany with the WebLogic Platform
installer) v8.1.6 to create a new Application and a portal project.

 

Attached the Directory Layout.

 

And I want to use Maven2 to build an EAR, so I created a pom.xml and using
"weblogic-maven-plugin" v2.8.0.. When I execute "mvn weblogic:appc" I got
errors (see the attached files Debug.txt and Error.txt).

 

Does anyone can help to resolve it ???

 

Thanks,

 

Eric

 

 

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

Question - weblogic-maven-plugin - Urgent

2007-07-27 Thread Eric YH WONG
Hi All,

 

Here is my env setting: JDK v1.4.2, WebLogic Platform v8.1.6, Windows XP
SP2. I use WebLogic Workshop (accompany with the WebLogic Platform
installer) v8.1.6 to create a new Application and a portal project.

 

Attached the Directory Layout.

 

And I want to use Maven2 to build an EAR, so I created a pom.xml and using
"weblogic-maven-plugin" v2.8.0.. When I execute "mvn weblogic:appc" I got
errors (see the attached files Debug.txt and Error.txt).

 

Does anyone can help to resolve it ???

 

Thanks,

 

Eric

 

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

WebLogic v8.1.6

2007-07-18 Thread Eric YH WONG
Hi All,

 

I'm using WebLogic v8.1.6 and trying to use Maven2 with
weblogic-maven-plugin 2.8.0-snapshot to build an EAR. But got error and
can't proceed. If I build the same source in WebLogic Workshop, it is
working properly and can generate the EAR

 

Anyone can suggest the POM.xml and the directory layout that can make it
work ?

 

Thanks,

 

Eric

 



RE: About WebLogic Plugin - Help

2006-12-12 Thread Eric YH WONG
--

[ERROR] BUILD ERROR

[INFO]


[INFO] Exception encountered during APPC processing

 

Embedded error: weblogic.utils.compiler.ToolFailureException:
[J2EE:160117]Appc is unable to continue processing file 'C:\DTT

N\ITMS\Source\itms\ears\itmsPortal\target\itmsPortal-1.0.ear':

weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at li

ne: 7 column: 15.  weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column:

 15.  The content of element type "application" is incomplete, it must match
"(icon?,display-name,description?,module+,securi

ty-role*)". - with nested exception:

[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d

escription?,module+,security-role*)".] - with nested exception:

[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d

escription?,module+,security-role*)".] - with nested exception:

[weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at l

ine: 7 column: 15.  weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column

: 15.  The content of element type "application" is incomplete, it must
match "(icon?,display-name,description?,module+,secur

ity-role*)". - with nested exception:

[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d

escription?,module+,security-role*)".] - with nested exception:

[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d

escription?,module+,security-role*)".]]

[INFO]


[INFO] For more information, run Maven with the -e switch

[INFO]


[INFO] Total time: 26 seconds

[INFO] Finished at: Tue Dec 12 14:03:33 CST 2006

[INFO] Final Memory: 9M/17M

[INFO]


 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 December 2006 4:36 PM
To: users@maven.apache.org
Subject: RE: About WebLogic Plugin - Help

What errors do you get?

-Original Message-
From: Eric YH WONG [mailto:[EMAIL PROTECTED] 
Sent: mardi 12 décembre 2006 9:08
To: users@maven.apache.org
Subject: About WebLogic Plugin - Help

Hi everyone,

 

I have urgent questions abt the weblogic plugin. I tried to
search on web and can't find the suitable solution.

 

Here is my current POM for the Weblogic plugin:

 





 

   itms

   dttn

   1.0

 

 4.0.0

 dttn.itms.ears

 itmsPortal

 itmsPortal

 ear

 1.0

 http://maven.apache.org

 

   

 junit

 junit

 3.8.1

 test

   

 

 

   

 snapshots

 Codehaus Snapshots

 http://snapshots.repository.codehaus.org/

   

 

 

   ${project.artifactId}-${project.version}

   

 

   org.codehaus.mojo

   weblogic-maven-plugin

   2.8.0-SNAPSHOT

   

 localhost

 7001

 weblogic

 password

 
${project.build.outputDirectory}/../${project.artifactId}.${proj
ect.packaging}

 ${project.artifactId}

 nostage

 true

   

   

 

   package

   

 appc

   

 

   

 

   

 



 

 

When I tried to run mvn install. It comes out errors. So.Is
there anyone can point me out what the problem is it in the pom.xml. and how
to fix it ??

 

Thx

 

Eric

 

 



This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.

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


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



About WebLogic Plugin - Help

2006-12-12 Thread Eric YH WONG
Hi everyone,

 

I have urgent questions abt the weblogic plugin. I tried to
search on web and can't find the suitable solution.

 

Here is my current POM for the Weblogic plugin:

 





 

   itms

   dttn

   1.0

 

 4.0.0

 dttn.itms.ears

 itmsPortal

 itmsPortal

 ear

 1.0

 http://maven.apache.org

 

   

 junit

 junit

 3.8.1

 test

   

 

 

   

 snapshots

 Codehaus Snapshots

 http://snapshots.repository.codehaus.org/

   

 

 

   ${project.artifactId}-${project.version}

   

 

   org.codehaus.mojo

   weblogic-maven-plugin

   2.8.0-SNAPSHOT

   

 localhost

 7001

 weblogic

 password

 
${project.build.outputDirectory}/../${project.artifactId}.${proj
ect.packaging}

 ${project.artifactId}

 nostage

 true

   

   

 

   package

   

 appc

   

 

   

 

   

 



 

 

When I tried to run mvn install. It comes out errors. So.Is
there anyone can point me out what the problem is it in the pom.xml. and how
to fix it ??

 

Thx

 

Eric