NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...

View: New views
5 Messages — Rating Filter:   Alert me  

NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...

by Leonid Shchervinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...
bug?
Thanks
Leonid

Re: NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...

by hong_lin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Leonid,

I renamed a sample BPEL Module project, and re-deployed my composite
application. My application still worked fine.

Does your project work after it is renamed? If not, please log an issue
report in issuezilla.

Thanks,
Hong

Leonid Shchervinsky wrote:
> NB 6.0 - Rename on the Enterprise project does not update all of
> build-impl.xml with the new project name...
> bug?
> Thanks
> Leonid
>  

Re: NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...

by Leonid Shchervinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Here is my application.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<application version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
  <display-name>BrokerTool</display-name>
  <module>
    <ejb>BrokerTool-ejb.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>BrokerTool-war.war</web-uri>
      <context-root>/BrokerTool-war</context-root>
    </web>
  </module>
</application>

It would seem that <web-uri> and <ejb> tags are not updated. My Java EE modules are listed as 14_01%20BrokerTool-ejb.jar and 14_01%20BrokerTool-war.war

Could it be that because my project war and ejb project names have spaces in their names and are different from their project folder names?

Thanks
Leonid

Leonid Shchervinsky wrote:
NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...
bug?
Thanks
Leonid

Re: NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...

by Leonid Shchervinsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have just renamed my ejb and war projects to not have "14_01 " as part of their names.
application.xml did not get refactored...

I had to manualy update to
<ejb>BrokerTool-ejb.jar</ejb>
<web-uri>BrokerTool-war.war</web-uri>
<context-root>/BrokerTool-war</context-root>

Then I had to remove Java EE Modules since they still had old names.
application.xml did not get refactored...

Then I have added the newly renamed EE Modules and the application.xml added new modules and kept old module tags for removed modules...

It would seem that renaming ejb and war projects one can get into a lot of trouble.

Thanks
Leonid



Here is my application.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<application version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
  <display-name>BrokerTool</display-name>
  <module>
    <ejb>BrokerTool-ejb.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>BrokerTool-war.war</web-uri>
      <context-root>/BrokerTool-war</context-root>
    </web>
  </module>
</application>

It would seem that <web-uri> and <ejb> tags are not updated. My Java EE modules are listed as 14_01%20BrokerTool-ejb.jar and 14_01%20BrokerTool-war.war

Could it be that because my project war and ejb project names have spaces in their names and are different from their project folder names?

Thanks
Leonid

Leonid Shchervinsky wrote:
NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...
bug?
Thanks
Leonid


Re: NB 6.0 - Rename on the Enterprise project does not update all of build-impl.xml with the new project name...

by Samaresh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Perhaps a bug in enterprise application. If you want a quick resolution
on this, please file a bug on component j2ee and sub-component
earproject. Describe the issue in detail and someone in j2ee land should
be able to respond to you quickly.

Thanks
Samaresh

Leonid Shchervinsky wrote:

> Here is my application.xml file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <application version="5" xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/application_5.xsd">
>   <display-name>BrokerTool</display-name>
>   <module>
>     <ejb>BrokerTool-ejb.jar</ejb>
>   </module>
>   <module>
>     <web>
>       <web-uri>BrokerTool-war.war</web-uri>
>       <context-root>/BrokerTool-war</context-root>
>     </web>
>   </module>
> </application>
>
> It would seem that <web-uri> and <ejb> tags are not updated. My Java EE
> modules are listed as 14_01%20BrokerTool-ejb.jar and
> 14_01%20BrokerTool-war.war
>
> Could it be that because my project war and ejb project names have spaces in
> their names and are different from their project folder names?
>
> Thanks
> Leonid
>
>
> Leonid Shchervinsky wrote:
>  
>> NB 6.0 - Rename on the Enterprise project does not update all of
>> build-impl.xml with the new project name...
>> bug?
>> Thanks
>> Leonid
>>
>>    
>
>  
LightInTheBox - Buy quality products at wholesale price!