MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bcholmes
Post subject: properties files missing during deployment [Closed]  PostPosted: Sep 10, 2003 - 03:57 PM
Registered Member
Registered Member


Joined: May 30, 2003
Posts: 39

Using: MyEclipse 2.5.1, WebLogic 7, Eclipse running under JDK 1.4.1

When we try to deploy our project to WebLogic (as an exploded directory), we notice that properties files in our EJB project haven't been deployed. Is this a known problem?

Thanks,
BC
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-michael
Post subject:   PostPosted: Sep 10, 2003 - 04:54 PM
Moderator
Moderator


Joined: May 05, 2003
Posts: 1037

Are the property files located under a src folder? MyEclipse only deploys EJB Project elements that reside under a src folder.

Michael
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
bcholmes
Post subject:   PostPosted: Sep 11, 2003 - 03:30 PM
Registered Member
Registered Member


Joined: May 30, 2003
Posts: 39

support wrote:
Are the property files located under a src folder? MyEclipse only deploys EJB Project elements that reside under a src folder.


Yes. Here's my structure


myapplicationEJB
+ src
+ com.acme.myapplication.ejb.something
+ SomeNonEJBClass.java
+ ...
+ interesting.properties
+ ...
+ src-gen
+ ...


(It probably isn't relevant, but I have multiple source folders).

When I deploy to WebLogic, the interesting.properties file doesn't copy.

We've seen this problem on two different machines.

Thanks,
BC
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-michael
Post subject:   PostPosted: Sep 11, 2003 - 03:56 PM
Moderator
Moderator


Joined: May 05, 2003
Posts: 1037

Can you inspect the .project file for the following build spec?

Code:
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>


There have been a few cases where this builder has not been properly registered with the project. The 2.6.2 release that rolled out yesterday provides additional checks for this rare case.

Michael
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
support-michael
Post subject:   PostPosted: Sep 11, 2003 - 03:59 PM
Moderator
Moderator


Joined: May 05, 2003
Posts: 1037

Another check is the "Filtered Resources" preference at Windows->Preferences->Java->Compiler->Build Path (tab). While it is a rare occurence some developers have added additional filters.

Michael
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
bcholmes
Post subject:   PostPosted: Sep 11, 2003 - 09:40 PM
Registered Member
Registered Member


Joined: May 30, 2003
Posts: 39

support wrote:
Code:
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>



Yup, I've got that. the project file also has DeploymentDescriptorValidator .

BC
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bcholmes
Post subject:   PostPosted: Sep 11, 2003 - 09:42 PM
Registered Member
Registered Member


Joined: May 30, 2003
Posts: 39

support wrote:
Another check is the "Filtered Resources" preference at Windows->Preferences->Java->Compiler->Build Path (tab). While it is a rare occurence some developers have added additional filters.


No, I just have *.launch, there.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
bcholmes
Post subject:   PostPosted: Sep 11, 2003 - 09:49 PM
Registered Member
Registered Member


Joined: May 30, 2003
Posts: 39

Curiously, though, I've just re-tried this and the problem has disappeared.

Weird.

(It occurs to me that I *might* have been thrown off by the ordering of the files... Eclipse always puts .properties files after the Java classes, and I might have been pattern-matching incorrectly. I've also gone to the other person who had this problem, and he's not having it either. Hmmm.)
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-michael
Post subject:   PostPosted: Sep 11, 2003 - 10:39 PM
Moderator
Moderator


Joined: May 05, 2003
Posts: 1037

Please let us know if you experience any other problems. We continue to mature the deployment infrastructure and your issues and feedback are very important to us.

Regards,

Michael
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits