Weblogic, eclipse plugin, ServletContextListener
I'm new to weblogic and I'm testing some existing tomcat code that's showing some strange behavior inside of eclipse. When I right click in the servers window and debug a weblogic test project I see contextInitialized called twice. During the first call I see some of the api's fail whereas the second call seems to run ok. Is there any way to prevent the two calls? When I launch tomcat, contextInitialized is called once so I would like the same thing to happen inside of weblogic. I know I could go w/ the application life cycle listener but for now I would like to keep the code in the current form. Just to make it clear, this code is called twice:
public class ContextLoaderListener implements ServletContextListener
public void contextInitialized(ServletContextEvent contextEvent)
// called twice, how to skip the first call?
is there a way to check a property or make a call so that the code only runs twice.
An example of where this causes problems is when I register a bean during startup:
call 1: ( beanServer.addNotificationListener(...) )
INFO: registerNotificationListenerInternal: watchRuntimeName = com.bea:ServerRuntime=AdminServer,Name=DiagnosticsJMXNotificationSource,Type=WLDFWatchJMXNotificationRuntime,WLDFWatchNotificationRuntime=WatchNotification,WLDFRuntime=WLDFRuntime>
####<Apr 18, 2012 1:47:05 PM CDT> <Notice> <StdErr> <BUSTX05NLKVB231> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1334774825919> <BEA-000000> <Apr 18, 2012 1:47:05 PM com.verizon.vidaas.metrics.MetricsManager registerNotificationListenerInternal
SEVERE: javax.management.InstanceNotFoundException: com.bea:ServerRuntime=AdminServer,Name=DiagnosticsJMXNotificationSource,Type=WLDFWatchJMXNotificationRuntime,WLDFWatchNotificationRuntime=WatchNotification,WLDFRuntime=WLDFRuntime
call2: ( beanServer.addNotificationListener(...) )
INFO: registerNotificationListenerInternal: watchRuntimeName = com.bea:ServerRuntime=AdminServer,Name=DiagnosticsJMXNotificationSource,Type=WLDFWatchJMXNotificationRuntime,WLDFWatchNotificationRuntime=WatchNotification,WLDFRuntime=WLDFRuntime>
<no exception here>
So, call2 works but for some strange reason call1 doesn't so if I could skip call1, then maybe that would fix the issue?
One final note: this is not an issue when run outside of eclipse.
thanks,
Paul.
Hi Paul --
The ServletContextListener should be getting called once per ServletContext creation. That's the behaviour the Servlet specifications prescribes and we follow.
I just did a quick test on WLS 12c and saw it getting called once per deployment/activation of the web module.
* To change this template, choose Tools | Templates
* and open the template in the editor.
package sab.demo.otn2377518;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
* Web application lifecycle listener.
* @author sbutton
@WebListener()
public class TestContextListener implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent sce) {
System.out.printf("%s:%s\n",
this.getClass().getName(),
getMethodName());
@Override
public void contextDestroyed(ServletContextEvent sce) {
System.out.printf("%s:%s\n",
this.getClass().getName(),
getMethodName());
private String getMethodName() {
return Thread.currentThread().getStackTrace()[2].toString();
}<Apr 23, 2012 5:48:38 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /Users/sbutton/Java/wls-1211update-dev/domain/servers/AdminServer/logs/access.log00163. Log messages will continue to be logged in /Users/sbutton/Java/wls-1211update-dev/domain/servers/AdminServer/logs/access.log.>
<Apr 23, 2012 5:48:40 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<Apr 23, 2012 5:48:40 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
sab.demo.otn2377518.TestContextListener:sab.demo.otn2377518.TestContextListener.contextInitialized(TestContextListener.java:21)
<Apr 23, 2012 5:48:51 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /Users/sbutton/Java/wls-1211update-dev/domain/servers
<Apr 23, 2012 5:48:52 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
<Apr 23, 2012 5:48:52 PM CST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>
>
If you are using OEPE, then I wonder if you have auto-publishing set to true so that any changes you make to the application in OEPE are resulting in automatic republishing of the application, which will restart the web
module to pick up the change and thus call this listener method each time?
-steve-
Similar Messages
-
How to start weblogic in debug mode from BEA WebLogic Eclipse plugin
I have a problem making weblogic work with eclipse3.1. I am using a BEA WebLogic plugin to handle weblogic (start/stop) from eclipse. However I want to debug my application and I am unable to figure out a way to start my weblogic in debug mode like we do in WSAD. I tried using some other plugins also but no luck. Please suggest me a plugin to handle this or any other way of debugging my application from eclipse. I am using weblogic 8.1.
Hi,
Dev Environment
weblogic eclipse plugin 2.0 beta
weblogic server 8.1
eclipse 3.1.1
Created a server that i would like to deploy my EJB so that i can put break points on my EJB in eclipse.
How do i do it?
I managed to deploy an ear (containing the ejb) directly to the weblogic installed folder and it deployed the ejb. But the breakpoint set in eclipse is not triggered. Of course in this case as weblogic server is running the .ear file deployed manually in the file system.
Any help is appreciated.
Mel -
Error when starting weblogic from forthnet eclipse plugin?
Hi,
I'm getting an error when trying to start my weblogic server from the forthnet eclipse plugin. (However, it works to start the server from a command prompt on the machine it is running on, and also, it works to stop the server from eclipse)
Server and eclipse is running on Windows.
The error reported is:
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
<2004-sep-01 kl 16:13 CEST> <Error> <EmbeddedLDAP> <BEA-171519> <Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
<2004-sep-01 kl 16:13 CEST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
at weblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(EmbeddedLDAP.java:959)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:221)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:814)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.Server.main(Server.java:32)
>
<2004-sep-01 kl 16:13 CEST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
I've tried removing the "EmbeddedLDAP.lok" file, but without luck.Which version of your eclipse? I am using eclipse 3.0 and I am able to start weblogic 8.1 from eclipse.
I did the following steps:
1.create a new domain through weblogic's configuration wizard --> basic weblogic server domain --> Express --> proive the user name and password --> development mode, and sun sdk (or other jdk) --> your new domain name
2. configure weblogic setting in eclipse: preferences --> weblogic --> 8.1, C:\bea\weblogic81, your newly created domain name --> C:\bea\user_projects\domains (domain directory) --> myserver --> admin (or your user name) --> password --> localhost --> 7001
after that, you should be able to click on "start weblogic server" button from toolbar.
Hope my two cents solve your problem. -
Error invoking WebService in Eclipse with WebLogic 12c plugin
I am using Eclipse Indigo with WebLogic 12c plugin to create a standalone WebService Client which invokes a simple WebService. The WebService is protected by Security Policies Wssp1.2-2007-Wss1.0-X509-Basic256.xml and Wssp1.2-SignBody.xml.
I get the following exception when I run the standalone client:
h2. Exception in thread "main" java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider: Provider weblogic.wsee.jaxws.spi.WLSProvider could not be instantiated: java.lang.ExceptionInInitializerError
The same program works fine using JDeveloper 11g but not in Eclipse Indigo or in Juno. Has anyone faced this issue?
Thanks,
MadhavThe stand-alone client JAR file does not, however, support invoking Web services that use the following advanced features:
Web services reliable SOAP messaging
Message-level security (WS-Security)
http://docs.oracle.com/cd/E14571_01/web.1111/e13760/client.htm#i229632
Can you try running by adding weblogic.jar. but if you run the client inside the wls Server it should work.
Regards,
Sunil P -
Debugging with Eclipse Plugin using Weblogic 6.1
I am having a problem debugging using Eclipse 2.1 and the weblogic server plugin
provided by this site.
If I start the server and run the application everything works fine.
If I put a breakpoint into my code and then run the application I do not see the
application breaking at all. I am in debug view of Eclipse. The browser just
hangs and will not respond. I can take the breakpoint off and refresh the browser
and it works fine again.
Do I need to have anything special in a configuration file for weblogic to enable
debugging ?
Do I need to start the JVM with any special parms. I am currently using the following
startup options. I have tried a number of configurations on the startup options
and nothing works.
-hotspon
-ms64m
-mx256m
-Xdebug
-Djava.compiler=none
-Xnoagent
-Dweblogic.ProductionModeEnabled=false
I am using Weblogic 6.1 and JDK 1.3.1_09
Thanks in advance for any help...Mark,
Please post this in the weblogic.developer.interest.general newsgroup
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Mark Hartnett" <[email protected]> wrote in message
news:3f57a4a3$[email protected]..
>
I am having a problem debugging using Eclipse 2.1 and the weblogic serverplugin
provided by this site.
If I start the server and run the application everything works fine.
If I put a breakpoint into my code and then run the application I do notsee the
application breaking at all. I am in debug view of Eclipse. The browserjust
hangs and will not respond. I can take the breakpoint off and refresh thebrowser
and it works fine again.
Do I need to have anything special in a configuration file for weblogic toenable
debugging ?
Do I need to start the JVM with any special parms. I am currently usingthe following
startup options. I have tried a number of configurations on the startupoptions
and nothing works.
-hotspon
-ms64m
-mx256m
-Xdebug
-Djava.compiler=none
-Xnoagent
-Dweblogic.ProductionModeEnabled=false
I am using Weblogic 6.1 and JDK 1.3.1_09
Thanks in advance for any help... -
Where to download eclipse plugin for weblogic extension network gatekeeper ?
Hi,
As mentioned in the below link
Using the Eclipse Plug-in for Extension Toolkit
I need to create wlng projects. Could you please tell me where can I download the weblogic network gatekeeper eclipse plugin?
Thanks,
Siva prakash.The JavaFX 1.2.3 SDK was just released this morning. The Eclipse Plugin still requires the JavaFX 1.2.1 SDK, which you can download from:[http://java.sun.com/javafx/downloads/previous.jsp#1.2.1]. We are updating the document [Getting Started With JavaFX Technology Using Eclipse IDE|http://javafx.com/docs/gettingstarted/eclipse-plugin/index.jsp] to point to the correct download. Thanks!
Edited by: gchaps on Feb 5, 2010 9:34 AM
Edited by: gchaps on Feb 5, 2010 9:42 AM -
Building EAR for WebLogic 8.1 with Eclipse plugin
I am developing an EJB app for deployment in WebLogic, JBoss and Sun ONE. I use plugins for JBoss and Sun ONE, with the help of XDoclet, and have no problem creating the required XML and JAR files. However, the WebLogic Workshop creates many files, like oztplsEOImpl.java, oztp1sHomeImpl.java, Hello_oztp1s_EOImplRTD.xml and many others, while the Eclipse plugin only creates the Home and Remote interface .java files, and the prerequisite .xml files (ejb-jar.xml, weblogic-ejb-jar.xml, and weblogic-cmp-rdbms-jar.xml).
Why is that? And how can I build/package the EAR file from within Eclipse, without using WebLogic tools? I am trying to maintain a single codebase, with multiple XDoclet tags to create the appropriate interfaces and XML files. So far, I could achieve this for JBoss and Sun ONE, but it seems to be impossible for WebLogic.
Thanks for any enlightenment.
Alex MolochnikovIt is quite easy to rewrite the plugin to work with 8.1
We have done so - please contact me if you want the plugin.
Sincerely,
Paul Nyheim
"HOs" <[email protected]> wrote in message
news:3f72ce93$[email protected]..
>
Hi,
how can I debug my weblogic 8.1 application ?
I`m using eclipse, but the plugin I´ve got, is only for versions 6.x and7.0 .
So I tried remote debugging but eclipse could not connect to the VM, I donot
know why.
Any ideas ??
Thanks
Holger -
Title says it all.... Lost 3 days finding what was the problem.
The version of Oracle Eclipse Plugin 1.3.0.200909171310
is completelly unable to a version 10.3.1.0 Server.
The server starts correctly on the command line.
In Eclipse the server instance and runtime are created correctly, but when you
try to start it from eclipse bang!
Unable to validate WebLogic domain.Please make sure the running WebLogic instance is an Administration Server
java.lang.Exception:
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.validateRemote(WlsJ2EEDeploymentHelper.java:1670)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.validateRemote(WeblogicServerBehaviour.java:2647)
at oracle.eclipse.tools.weblogic.server.internal.ServerWatcher.runOnce(ServerWatcher.java:574)
at oracle.eclipse.tools.weblogic.server.internal.ServerWatcher.run(ServerWatcher.java:482)
at java.lang.Thread.run(Thread.java:619)Well, the server is not running, i just try to start it.
The message pops instantly, like in 0.5 seconds, it looks like nothing is even performed.
- what does the <name> element look like in domain/config.xml ? Does it match the server definition?
<name>dintiruni</name>
<server>
<name>intiruni0</name>
<ssl>
<name>intiruni0</name>
<enabled>true</enabled>
<listen-port>443</listen-port>
</ssl>
<listen-port>80</listen-port>
<listen-address/>
</server>
<admin-server-name>intiruni0</admin-server-name>
yep : C:\owls11gR1\domains\dintiruni\servers\intiruni0
- what is your version of JDK running Eclipse?
Sun JDK 1.6.0_17, downloaded manually.
Same JDK i use during install to run WebLogic 10.3.2.0, I had to do that, since 10.3.2.0 JDK 1.6.0_14
is not a recongnized JDK when you use -vm parameter in eclipse.ini (10.3.1.0 was working)
- Try create a new domain, make sure set it as development mode.
I think i reinstalled WebLogic more than 3 times, recreated the domain with all possible options.
Reinstalled Eclipse (J2EE with Reporting 3.5.1) with only Oracle Plugin. Recreated my workspace
3-4 times.
Additional info:
I have this message as parent item of the stacktrace in the eclipse Log tree: Another server is detected.
I had a server version 10.3.1.0, wich i just renamed the installation directory to C:\owls11gR1_10.3.1.0 and installed the 10.3.2.0 in the same directory C:\owls11gR1
I uninstalled everything, went in regedit, deleted all weblogic keys references.
Always the same problem. Im starting to loose patience... i have rarelly seen something like that.
Edit:
I also tryed with a Server version 10.3.2.0. (I abandonned 10.3.1.0 since i cannot even create the instance in eclipse)
Edited by: Rouche on Jan 7, 2010 11:42 AM -
Sun One Web Server 6.1 Eclipse Plugin?
I have Eclipse 3.1 with WST tools and Visual Editor plug-in installed. I am a
noob to this IDE and web solution. I want ot use Sun One Web Server for my web
application testing and implementation. I want my Dynamic Web Application
projects to build and use the Sun One Web Server I have installed and running on
my machine. The only server options I see are some Generic WebLogic servers and
JBOSS or Tomcat/Jakarta servers. How do I get the Sun One Web Server to show up
as an option when building a web application in Eclipse using WST?I am look for the same like you did quite ago but I need free Eclipse Plugin for Sun One Web Server 7/8 and let me have ref if you could.
-
[ANNOUNCE]: myWL eclipse plugin 1.0.11 released
myWL plugin 1.0.11 released, check the project's site
http://mywl.sourceforge.net for more information.
Version 1.0.11 brings full WL6.1 support together with a new feature which
allows WL's CMP generated SQL statements to be logged and monitored.
Check the 1.0.11 Release Log:
The forthnet-eclipse-plugins team is pleased to announce the FORTHnet
WebLogic
Server Eclipse Plugin 1.0.11 release!
http://mywl.sourceforge.net/
An Eclipse 3.0 compatible plugin which allows BEA's WebLogic Server (6.1,
7.1
and 8.1) to be managed from within eclipse and thus easily debug deployed
J2EE
applications in BEA.
Changes in this version include:
New Features:
o A new feature has been added which enables, if configured to do so from
myWL's WebLogic preferences page, logging of all CMP generated SQL
statements. This is a great aid for the developer, which can now monitor
WL's generated SQL statements for finders, select methods, etc. This
feature has been tested and it is known to work with WL 8.1. Older versions
of WL may support this feature, but no testing has been made.
Fixed bugs:
o When launching WL 6.1, JVM's working dir was being incorrectly set.
o WL 6.1 launcher didn't respect user's defined JVM options.
o WL 6.1 launcher didn't respect user's defined JNI library path.
Changes:
o WL 6.1 launcher now by default adds to the server's boot classpath the
WL's
home. This eliminates the need to specify the WL's home dir in the plugin's
Classpath Preferences page.
o WL 6.1 launcher specifies by default the java security policy as defined
in
the WL_HOME/lib/weblogic.policy file.
o WL 7.1 launcher specifies by default the java security policy as defined
in
the WL_HOME/lib/weblogic.policy file.
Have fun!
-The forthnet-eclipse-plugins team
Filippos Slavik
FORTHnet R&D, Heraklion, Greece
e-mail : [email protected]
phone : (+30) 2811 391230
Key ID: 0xF4B5B375 Filippos Slavik(search pgp.mit.edu)
Key FingerPrint: 81D4 25D0 01EB 9DCA 62E4 B694 20E7 31FB F4B5 B375
"The software said 'runs on Win95 or better,' so I installed it
on Linux..."Problem solved. After closing the perspectives I had open and reopening
them, the menu showed up in the correct perspectives.
Ignore This wrote:
I'm trying to use the Eclipse plugin with Eclipse version 2.1 (recently
released). I am aware that the Kodo documentation says it works with
Eclipse 2.0. The "Kodo" menu appears in the wrong perspective (the CVS
Repository Exploring Perspective). This makes it generally unusable.
Anyone else tried this with better success? -
Eclipse plugin for version 10.3
Is there eclipse plugin for weblogic 10.3
Yes, you can install Oracle Enterprise Pack for Eclipse.
[http://www.oracle.com/tools/enterprise-eclipse-pack.html]
[http://www.oracle.com/technology/software/products/oepe/index.html] -
Hi,
Does BEA have a eclipse plugin for ejbgen to use?
Thanks
brianI have used Doclipse plugin with Eclipse3.1 and found it very useful to generate all weblogic specific annotations. Please check out this http://www.beust.com/doclipse/.
-
Weblogic plugin is not work, help me!!
platform : Windows XP Home Edition
Eclipse Version : 2.1
J2SDK : 1.3.1_06
Weblogic plugin 1.0.0c
Weblogic version : 6.1sp3
Weblogic install folder : C:\Server\bea
Eclipse Plugin setting
Weblogic
Version : 6.1
Bea Home : C:\Server\bea
Domain Name ; mydomain
Domain Directory : C:\Server\bea\wlserver6.1\config\mydomain
Serve Name : localhost
User : System
Password : passwd
Hostname : localhost
Port : null
Classpath
Classpath before the Weblogic libraries
C:\Server\bea
Classpath after the Weblogic libraries
Null
JavaVM Options
JVM Options
-hotspot
-Xms32m
-Xmx200m
-Dweblogic.ProductionModeEnabled=
JNI Library path
Null
When Weblogic start in Eclipse, Error Message Occured.
----- Error Message --------
<2003-06-10 ¿ÀÈÄ 01½Ã33ºÐ44ÃÊ> <Info> <Security> <Getting boot password from
user.>
Enter password to boot WebLogic server:Starting WebLogic Server ....
<2003-06-10 ¿ÀÈÄ 01½Ã33ºÐ47ÃÊ> <Notice> <Management> <Loading configuration
file .\config\mydomain\config.xml ...>
<2003-06-10 ¿ÀÈÄ 01½Ã33ºÐ50ÃÊ> <Emergency> <Security> <Authentication failure -
reenter password to boot weblogic server:>
<2003-06-10 ¿ÀÈÄ 01½Ã34ºÐ54ÃÊ> <Emergency> <Security> <Authentication failure -
reenter password to boot weblogic server:>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.SecurityException: Authentication for user system denied
at weblogic.security.SecurityService.initializeSuid(SecurityService.java:409)
at weblogic.security.SecurityService.initialize(SecurityService.java:119)
<2003-06-10 ¿ÀÈÄ 01½Ã34ºÐ55ÃÊ> <Emergency> <Server> <Unable to initialize the
server: 'Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user system denied
java.lang.SecurityException: Authentication for user system denied
at weblogic.security.SecurityService.initializeSuid(SecurityService.java:409)
at weblogic.security.SecurityService.initialize(SecurityService.java:119)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:400)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
at weblogic.Server.main(Server.java:35)
'>
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:400)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exceptionOriginally posted by: eclipse.rizzoweb.com
Tom Roche wrote:
> How to set a file exclusion pattern? What I mean:
>
> I work on a project that is not natively an Eclipse plugin. In order
> to make it acceptable to PDE, I run target=eclipse in the project's
> build.xml: among other things this copies special files (e.g.
> plugin.xml, build.properties) from the project's eclipse folder to the
> project's root.
>
> After running the target, I can Update Classpath, and I'm *almost*
> ready to build the project with Eclipse (C-b or rclick>Build Project).
> First I need to exclude some files. The way I do this in the UI is
>
> 0 select the project's Properties>Java Build Path>Source
>
> For each of 3 source folders (e.g. /src/foo, /src/bar, /test):
>
> 1 expand the folder node, choose the Excluded subnode, and hit Edit
>
> 2 in the Exclusion Patterns section of the resulting dialog, hit Add,
> and enter the exclusion pattern
>
> **/Baz*
>
> 3 hit OK in that dialog and its parent
>
> But this is tedious/error-prone for me and our users. I'm hoping there
> is a way that I can set the appropriate value in build.properties (or
> elsewhere) that will allow me to avoid this manual labor. Is there?
>
> Feel free to forward, and to reply directly to me (as well as the
> group), and TIA.
You can manipulate the .classpath file, if you're careful.
Do it manually (via the UI) and then go look at the .classpath file.
You'll see an entry like this:
<classpathentry excluding="**/Baz*" output="classes" kind="src" path="src"/>
See the excluding= attribute? That's what you want to create when you're
"building" for PDE.
HTH,
Eric -
Eclipse plugin 1.1.1
We are running eclipse 2.1 and want to run weblogic 81. I downloaded (from bea, eclipse plugin 1.1.1) It says that it supports eclipse 2.x. But I get the follwoing error when trying to deploy it.
was disabled due to missing or disabled prequisite plug-in "org.eclipse.ui.ide"
Help
Thanks,
[email protected]The JavaFX 1.2.3 SDK was just released this morning. The Eclipse Plugin still requires the JavaFX 1.2.1 SDK, which you can download from:[http://java.sun.com/javafx/downloads/previous.jsp#1.2.1]. We are updating the document [Getting Started With JavaFX Technology Using Eclipse IDE|http://javafx.com/docs/gettingstarted/eclipse-plugin/index.jsp] to point to the correct download. Thanks!
Edited by: gchaps on Feb 5, 2010 9:34 AM
Edited by: gchaps on Feb 5, 2010 9:42 AM -
Hi I am having a question,
I tried to use the new oracle eclipse plugin 11.1.1.6.0 but my WebLogic Portal projects do not work anymore ?
Is the portal not supported any longer?
Regards
EdmundUnfortunately, the WebLogic Portal 10.3.2 eclipse plugins are only supported with Oracle Enterprise Pack for Eclipse version 11.1.1.3 on Eclipse 3.5.
Greg
Maybe you are looking for
-
Need help transfering a fcp project from one Mac to another
I have two students who need to work on projects on the same computer at the same time-deadlines-and need to move one project AND all the files to another Mac. When we open this file it asks to reconnect everything and it's taking forever to match ev
-
How to eliminate empty tags in out put XML file in IDOC to File scenario
Hi Experts, I am doing IDOC to File scenario. My Out put XML is in to FTP is as below <ITEMS> <item> <A>asdf<A> <B>GHIJ<B> </item> <item> <A>123<A> <B>G098<B> </item> </ITEMS> <ITEMS/> - > Mea
-
In my GREP style I want it to find a different / (forward slash) in glyph set
Hello! I have a GREP style that I have been using to find fractions and it works fine. The issue now, is we are not going to be using the standard / in the glyph set, but a different one. It's a unique one built into the font. This is the part of the
-
Can we override the functionality of F4 key?
I want to override the functionality of F4 key. How will i do this?
-
My macbook pro won't turn on or chime
I hope I do not have a bad logic board . I hear the hard drive spinning and the computer hasn't been dropped so i think the screen is fine... What should I do???