Re: [wtp-dev] Plugin load exception

2008-04-30 Thread Nitin Dahyabhai
I think it's in some way and invalid test, as the last line from SSE is 
calling the API ValidationFramework.getDefault
().getDisabledValidatorsFor(IFile).


Regards,
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Plugin load exception

2008-04-30 Thread CAMERON . BATEMAN
I'm see the following exception in my build logs.  Should I be concerned?

!ENTRY org.eclipse.wst.common.tests.validation.guard 4 0 2008-04-30 21:34:29.085
!MESSAGE This plug-in should never be loaded. If it is it means that we are 
loading validators too early, and causing unneccessary plug-in activation.
!STACK 0
java.lang.RuntimeException: This plug-in should never be loaded. If it is it 
means that we are loading validators too early, and causing unneccessary 
plug-in activation.
at 
org.eclipse.wst.common.tests.validation.guard.Activator.(Activator.java:21)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1300)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:141)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:980)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
at 
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at 
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at 
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:419)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:368)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:444)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:595)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:313)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1273)
at 
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
at 
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:863)
at 
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at 
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at 
org.eclipse.wst.validation.Validator$V2.getValidator(Validator.java:927)
at 
org.eclipse.wst.validation.Validator$V2.getDelegatedValidator(Validator.java:886)
at 
org.eclipse.wst.validation.Validator$V2.asIValidator(Validator.java:818)
at 
org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:186)
at 
org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:175)
at 
org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:252)
at 
org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:633)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Known issue in StructuredTextEditor?

2008-04-30 Thread David Carver

[EMAIL PROTECTED] wrote:

AFAIK, ant target="ui-test" has always worked in the past.  This test plugin 
has been running for months without seeing this issue, so unless the build itself has 
changed, I don't think this is it.
  
I know that with some of the restructuring of the reconciler, that the 
order of how you initialize the SourceViewer configuration became very 
specific.   Particuarly if you didn't set the sourceviewer.config before 
setting the sourceviewer document you would get a NPE.  But I don't 
think this is related, but it did happen after the reconciler change to 
the platform.


Dave

___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


RE: [wtp-dev] Known issue in StructuredTextEditor?

2008-04-30 Thread CAMERON . BATEMAN
AFAIK, ant target="ui-test" has always worked in the past.  This test plugin 
has been running for months without seeing this issue, so unless the build 
itself has changed, I don't think this is it.

--Cam

-Original Message-
From: Nitin Dahyabhai [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 30, 2008 3:47 PM
To: wtp-dev@eclipse.org
Subject: Re: [wtp-dev] Known issue in StructuredTextEditor?


I'm no expert on the build process, but does the test.xml for that that 
plug-in needto be added?

Regards,
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev
___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Known issue in StructuredTextEditor?

2008-04-30 Thread Nitin Dahyabhai
I'm no expert on the build process, but does the test.xml for that that 
plug-in needto be added?

Regards,
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] WTP API Policy - Inter-project Dependencies

2008-04-30 Thread Tim deBoer
Hi everyone,

Please take a moment to read the new WTP API Policy section on 
dependencies between our projects. There are no changes to the 3.0 
release, but over time we expect each project in WTP to reduce internal 
usage on other projects, and move towards using declared API and opening 
API bug requests like other adopters.

http://wiki.eclipse.org/WTP_API_Policy#Inter-project_Dependencies

Thanks,
Tim deBoer
[EMAIL PROTECTED]___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] JSDT inference: type of "this"

2008-04-30 Thread Phil Berkland
I have added a "public Object userData", so you can do what you want to 
with it. 
I suspect there are other problems involved if your inference engine is 
not being called.

Phil Berkland
IBM Software Group Emerging Technologies



Matthias Kempka <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
04/28/2008 09:36 AM
Please respond to
"General discussion of project-wide or architectural issues." 



To
"General discussion of project-wide or architectural issues." 

cc

Subject
Re: [wtp-dev] JSDT inference: type of "this"







On Apr 8, 2008, at 4:56 PM, Phil Berkland wrote:
>
> The default InferenceEngine will create an anonymous type when is 
> sees a Object Literal.
> Assuming that you have override handleFunctionCall() in you 
> inferengine to process the "qx.Class.define", in that code
> you would "drill down" to that object initializer and call 
> "traverse()" in its field initializers, thus bypassing the default 
> handling of visit(IObjectInitializer).
> The handleFunctionCall() should return false, so the InferEngine 
> does not visit the children of the function call .

I've tried this now. Unsuccessful, so far.

I made certain that visit(IObjectLiteral) in my inferencer is not 
called. While debugging, I even throw Exceptions in the overridden 
method, to be sure that the call doesn't pass there unnoticed. But 
still the original problem exists: The inner object literal has an own 
anonymous type.

I went into debugging to see where it is created:
The anonymous InferredType object that is passed to my 
QooxdooInferEngine is not created by the QooxdooInferEngine. It is 
created by another instance of InferEngine (itself, no subclass). So I 
never get the chance to do something regarding the type creation for 
ObjectLiterals.

However, it seemed awkward to me why I should reimplement the 
ASTVisitor aspect of the InferEngine anyway. Having an anonymous type 
as a placeholder during the type gathering is ok for me, and not 
uncommon from what I know about type inferencing in other languages. I 
just want to be able to tell it that it is the same type as "that one".
I didn't find anything in InferredType that suggests this 
functionality. So I set the superclass of the anonymous type to the 
known class. This works now for the functionality I intended right 
now, but is not formally correct and will come back and bite me as 
soon as I introduce visibility validation.

Do you think it would be reasonable to introduce a field in 
InferredType that allows me to say what it actually is? It would be 
close to the referenceClass, only not for array members but for "this" 
type.

Best Regards,
Matthias Kempka




-- 
Dipl.-Inform. Matthias Kempka
Innoopract Informationssysteme GmbH
[EMAIL PROTECTED]
Tel:  0721 - 66 47 33 - 0
Fax: 0721 - 66 47 33 29
= Legal Disclaimer =
According to Section 80 of the German Corporation Act
Innoopract Informationssysteme GmbH must indicate the following 
information:
Address: Stephanienstrasse 20, 76133 Karlsruhe Germany
General Manager: Jochen Krause, Eric von der Heyden
Registered Office: Karlsruhe, Commercial Register Karlsruhe HRB 7883






___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev

___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Commit rights for Lawrence Mandel have been expired

2008-04-30 Thread portal on behalf of emo
webtools.common Committers,
David Williams has expired the commit rights for Lawrence Mandel (lmandel).
 The reason for this change is:

As documented in a note to wtp-pmc list, Lawrence resigned his
committership due to his changing job responsibilities. 

I'd to promote Lawrence to Committer Emeritus due to his long distinguished
contributions to WTP. 
He was a founding member, who worked for years to promote "community
relations", responding to questions on our newsgroups, mailing lists, and
maintaining our website. He fixed over 300 bugs or enhancements, including
my favorite, the Internet Cache. In addition to serveral articles and
tutorials at EclipseCon, he was co-author of Eclipse Web Tools Platform:
Developing Java Web Applications, Addison-Wesley Professional, 2007.

Much thanks Lawrence!

To honor Lawrence Mandel's contributions to the project, David Williams has
nominated Lawrence Mandel for Committer Emeritus status.

___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Commit rights for Craig Salter have been expired

2008-04-30 Thread portal on behalf of emo
webtools.common Committers,
David Williams has expired the commit rights for Craig Salter (csalter). 
The reason for this change is:

As documented in a note to wtp-pmc list, Craig is no longer able to
participate as a committer.


___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Commit rights for John Lanuti have been expired

2008-04-30 Thread portal on behalf of emo
webtools.common Committers,
David Williams has expired the commit rights for John Lanuti (jlanuti). 
The reason for this change is:

As documented in a note to wtp-pmc list, John is no longer able to
participate as a committer.


___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Known issue in StructuredTextEditor?

2008-04-30 Thread Nitin Dahyabhai
None that I'm aware of, but I did make a small change last night to avoid 
a NPE during initialization.  Please open a bug report and I'll look into 
it.  A sample project with a proper faces config file for me to use would 
also help.

Regards,
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Known issue in StructuredTextEditor?

2008-04-30 Thread CAMERON . BATEMAN
I just saw the (partial) trace in a build fail.  It appears to be occuring 
during StructuredTextEditor initialize when our test opens the 
FacesConfigEditor (which opens the SSE as a page in a multi-page editor).  Are 
there known new issues in this area? 

java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:3757)
at org.eclipse.swt.SWT.error(SWT.java:3691)
at org.eclipse.swt.SWT.error(SWT.java:3662)
at 
org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:7887)
at 
org.eclipse.swt.custom.StyledText.replaceStyleRanges(StyledText.java:6346)
at 
org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4439)
at 
org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4518)
at 
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.applyTextRegionCollection(StructuredPresentationReconciler.java:811)
at 
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.processDamage(StructuredPresentationReconciler.java:787)
at 
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler$InternalListener.inputDocumentChanged(StructuredPresentationReconciler.java:240)
at 
org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.install(StructuredPresentationReconciler.java:550)
at 
org.eclipse.wst.sse.ui.internal.StructuredTextViewer.updateHighlighter(StructuredTextViewer.java:907)
at 
org.eclipse.wst.sse.ui.internal.StructuredTextViewer.setDocument(StructuredTextViewer.java:765)
at 
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:498)
at 
org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3806)
at 
org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3362)
at 
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at 
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:394)
at 
org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEditor.java:1514)
at 
org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:217)
at org.eclipse.ui.forms.editor.FormEditor.addPage(FormEditor.java:343)
at 
org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:187)
at org.eclipse.ui.forms.editor.FormEditor.addPage(FormEditor.java:326)
at 
org.eclipse.jst.jsf.facesconfig.ui.FacesConfigEditor$AddPagesTask.doRun(FacesConfigEditor.java:534)

  -Original Message-
  From: Peter Moogk [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, April 30, 2008 9:43 AM
  To: General discussion of project-wide or architectural issues.
  Subject: Re: [wtp-dev] Releng question



  Hi Carl, 
   Yep, that fixed things up nicely.  Thanks! 

  Peter Moogk
  Rational Web Services Development
  IBM Canada Ltd.
  [EMAIL PROTECTED]
  D3-353/ENX/8200/MKM
  (905) 413-3458 


Carl Anderson <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
04/30/2008 12:17 PM Please respond to
  "General discussion of project-wide or architectural issues." 



   To "General discussion of project-wide or architectural issues." 
  
  cc  
  Subject Re: [wtp-dev] Releng question 

  

   



  Peter,

   As per the P2 guidelines, did you unzip the releng tools zip in the
  eclipse/dropins directory?

  FWIW,

  - Carl Anderson
  WTP programmer



  Peter Moogk   
  <[EMAIL PROTECTED] 
  m> To 
  Sent by:  wtp-dev@eclipse.org 
  [EMAIL PROTECTED]  cc 
  clipse.org
Subject 
[wtp-dev] Releng question   
  04/30/2008 11:47  
  AM


  Please respond to 
  "General  
discussion of   
   project-wide or   

Re: [wtp-dev] Releng question

2008-04-30 Thread Peter Moogk
Hi Carl,
 Yep, that fixed things up nicely.  Thanks!

Peter Moogk
Rational Web Services Development
IBM Canada Ltd.
[EMAIL PROTECTED]
D3-353/ENX/8200/MKM
(905) 413-3458



Carl Anderson <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
04/30/2008 12:17 PM
Please respond to
"General discussion of project-wide or architectural issues." 



To
"General discussion of project-wide or architectural issues." 

cc

Subject
Re: [wtp-dev] Releng question






Peter,

  As per the P2 guidelines, did you unzip the releng tools zip in the
eclipse/dropins directory?

FWIW,

- Carl Anderson
WTP programmer


 
 Peter Moogk 
 <[EMAIL PROTECTED] 
 m> To 

 Sent by:  wtp-dev@eclipse.org 
 [EMAIL PROTECTED]  cc 

 clipse.org 
   Subject 

   [wtp-dev] Releng question 
 04/30/2008 11:47 
 AM 
 
 
 Please respond to 
 "General 
   discussion of 
  project-wide or 
   architectural 
 issues." 
 <[EMAIL PROTECTED] 
   org> 
 
 





Hey Everyone,
 I'm using the Eclipse 3.4 base which WTP uses as my self host
environment.  However, when I overlay the releng tools zip for this 
Eclipse
base, the "release" popup item doesn't seem to appear in the team popup
category as I expected.  Has anyone else run into this problem?  Thanks.


Peter Moogk
Rational Web Services Development
IBM Canada Ltd.
[EMAIL PROTECTED]
D3-353/ENX/8200/MKM
(905) 413-3458___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev

___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Releng question

2008-04-30 Thread Carl Anderson
Peter,

  As per the P2 guidelines, did you unzip the releng tools zip in the
eclipse/dropins directory?

FWIW,

- Carl Anderson
WTP programmer


   
 Peter Moogk   
 <[EMAIL PROTECTED] 
 m> To 
 Sent by:  wtp-dev@eclipse.org 
 [EMAIL PROTECTED]  cc 
 clipse.org
   Subject 
   [wtp-dev] Releng question   
 04/30/2008 11:47  
 AM
   
   
 Please respond to 
 "General  
   discussion of   
  project-wide or  
   architectural   
 issues."  
 <[EMAIL PROTECTED] 
   org>
   
   





Hey Everyone,
 I'm using the Eclipse 3.4 base which WTP uses as my self host
environment.  However, when I overlay the releng tools zip for this Eclipse
base, the "release" popup item doesn't seem to appear in the team popup
category as I expected.  Has anyone else run into this problem?  Thanks.


Peter Moogk
Rational Web Services Development
IBM Canada Ltd.
[EMAIL PROTECTED]
D3-353/ENX/8200/MKM
(905) 413-3458___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Releng question

2008-04-30 Thread Peter Moogk
Hey Everyone,
 I'm using the Eclipse 3.4 base which WTP uses as my self host 
environment.  However, when I overlay the releng tools zip for this 
Eclipse base, the "release" popup item doesn't seem to appear in the team 
popup category as I expected.  Has anyone else run into this problem? 
Thanks.


Peter Moogk
Rational Web Services Development
IBM Canada Ltd.
[EMAIL PROTECTED]
D3-353/ENX/8200/MKM
(905) 413-3458___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Commit rights for Naci Dai have been expired

2008-04-30 Thread portal on behalf of emo
webtools.webservices Committers,
Kathy Chan has expired the commit rights for Naci Dai (ndai).  The reason
for this change is:

Naci had contributed to the Web services component in earlier WTP releases
but had not been active in the Web services subproject recently.  He had
requested to be removed as a committer for the Web services subproject.

Thank you for your previous contribution, Naci!


___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev


[wtp-dev] Language Packs

2008-04-30 Thread Gary Karasiuk
I was searching for WTP language packs, and I could only find them for 
1.5.1 (and even they were not easy to find). Are there no language packs 
for 2.X ? 

Gary Karasiuk, RAD Performance Analyst
[EMAIL PROTECTED]
TL-969-3985, external: (905)-413-3985
___
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev