You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@basistech.com> on 2007/09/06 17:35:03 UTC

RE: [jira] Commented: (CXF-972) Define a tns prefix

The patch is still not right, and I don't understand how to fix it. Svn
diff is only capturing one of several wsdl files that I recaptured. Can
anyone give me a boost here?

> -----Original Message-----
> From: benson margulies (JIRA) [mailto:jira@apache.org]
> Sent: Thursday, September 06, 2007 11:31 AM
> To: Benson Margulies
> Subject: [jira] Commented: (CXF-972) Define a tns prefix
> 
> 
>     [ https://issues.apache.org/jira/browse/CXF-
> 972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel#action_12525441 ]
> 
> benson margulies commented on CXF-972:
> --------------------------------------
> 
> Glen et al, I've update with a text file of patch that includes the
> recaptured wsdl from the tests.
> 
> check
> in
> explicit
> 
> 
> 
> > Define a tns prefix
> > -------------------
> >
> >                 Key: CXF-972
> >                 URL: https://issues.apache.org/jira/browse/CXF-972
> >             Project: CXF
> >          Issue Type: Improvement
> >          Components: Core
> >    Affects Versions: 2.0.1
> >            Reporter: benson margulies
> >             Fix For: 2.1
> >
> >         Attachments: tnspatches.txt
> >
> >
> > Currently, the CXF wsdl generator never creates a tns prefix. Types
in
> the schema (or even wsdl) target namespace get automatically generated
> prefixes, like 'ns1'. The wsdl's would be more readable with the
explicit
> namespace.
> 
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (CXF-972) Define a tns prefix

Posted by Daniel Kulp <dk...@apache.org>.
You can run mvn with the "-fae"  (fail at end) flag.   It will run the 
entire build and then, at the end, report which  modules had failures in 
them.   You can then go into each module that has failures and and just 
run mvn there to get the failures.  (or look in the 
target/surefire-reports dir, but that kind of sucks.   Maybe grep in 
there for "failure" or something).

Dan


On Thursday 06 September 2007, Benson Margulies wrote:
> At the moment, I'm having the following disorienting experience.
>
> Step 1: run mvn install. Get a few failures.
> Step 2: running in eclipse, fix them. Fixes are purely in the test
> themselves.
> Step 3: run mvn clean install. Get a new set of failures.
> Step 4: rinse and repeat.
>
> I could swear I had a clean mvn run before I posted the patches. Yet
> something seems to have reverted some of the expected files I
> modified, and now I have whole new tests failing.
>
> > -----Original Message-----
> > From: Daniel Kulp [mailto:dkulp@apache.org]
> > Sent: Thursday, September 06, 2007 12:37 PM
> > To: cxf-dev@incubator.apache.org
> > Cc: Glen Mazza
> > Subject: Re: [jira] Commented: (CXF-972) Define a tns prefix
> >
> >
> > Generally, I recommend an:
> > svn st
> > first to find any files with a "?".   svn add them.  Then do the
> > svn diff
> > The diff will then pick up the added files.
> >
> > There is still an issue with binary files.   svn diff won't pick
> > those up.   Those need to just be attached by hand.   Kind of sucks.
> >
> >
> > There is also the svn-create-patch (and the then required svn-apply)
> > scripts available at:
> > http://www.sand-labs.org/owb/browser/trunk/WebKitTools/Scripts/
> > which handle the binaries much better.   Also handles things like
> > renames, moves, etc....
> >
> >
> > Dan
> >
> > On Thursday 06 September 2007, Glen Mazza wrote:
> > > A couple of pointers:
> > >
> > > 1.) I have found "svn diff" from the command-line to be better
> > > than from within your IDE (at least for NetBeans--their
> > > IDE-generated difference files are kind of strange-looking).
> > >
> > > 2.) (of course) "svn diff" won't return a difference if the
> > > original file is not part of the repository (I don't how relevant
> > > that is to your situation here though.)
> > >
> > > HTH,
> > > Glen
> > >
> > > Am Donnerstag, den 06.09.2007, 11:35 -0400 schrieb Benson 
Margulies:
> > > > The patch is still not right, and I don't understand how to fix
>
> it.
>
> > > > Svn diff is only capturing one of several wsdl files that I
> > > > recaptured. Can anyone give me a boost here?
> > > >
> > > > > -----Original Message-----
> > > > > From: benson margulies (JIRA) [mailto:jira@apache.org]
> > > > > Sent: Thursday, September 06, 2007 11:31 AM
> > > > > To: Benson Margulies
> > > > > Subject: [jira] Commented: (CXF-972) Define a tns prefix
> > > > >
> > > > >
> > > > >     [ https://issues.apache.org/jira/browse/CXF-
>
> 972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
>
> > > > > tabpanel#action_12525441 ]
> > > > >
> > > > > benson margulies commented on CXF-972:
> > > > > --------------------------------------
> > > > >
> > > > > Glen et al, I've update with a text file of patch that
> > > > > includes the recaptured wsdl from the tests.
> > > > >
> > > > > check
> > > > > in
> > > > > explicit
> > > > >
> > > > > > Define a tns prefix
> > > > > > -------------------
> > > > > >
> > > > > >                 Key: CXF-972
> > > > > >                 URL:
> > > > > > https://issues.apache.org/jira/browse/CXF-972 Project: CXF
> > > > > >          Issue Type: Improvement
> > > > > >          Components: Core
> > > > > >    Affects Versions: 2.0.1
> > > > > >            Reporter: benson margulies
> > > > > >             Fix For: 2.1
> > > > > >
> > > > > >         Attachments: tnspatches.txt
> > > > > >
> > > > > >
> > > > > > Currently, the CXF wsdl generator never creates a tns
> > > > > > prefix. Types
> > > >
> > > > in
> > > >
> > > > > the schema (or even wsdl) target namespace get automatically
> > > > > generated prefixes, like 'ns1'. The wsdl's would be more
>
> readable
>
> > > > > with the
> > > >
> > > > explicit
> > > >
> > > > > namespace.
> > > > >
> > > > > --
> > > > > This message is automatically generated by JIRA.
> > > > > -
> > > > > You can reply to this email to add a comment to the issue
>
> online.
>
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727    C: 508-380-7194
> > daniel.kulp@iona.com
> > http://www.dankulp.com/blog



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

RE: [jira] Commented: (CXF-972) Define a tns prefix

Posted by Glen Mazza <gl...@verizon.net>.
I think Willem had once mentioned that mvn clean + svn checkout + mvn
install will work.

Glen

Am Donnerstag, den 06.09.2007, 12:40 -0400 schrieb Benson Margulies:
> At the moment, I'm having the following disorienting experience.
> 
> Step 1: run mvn install. Get a few failures.
> Step 2: running in eclipse, fix them. Fixes are purely in the test
> themselves.
> Step 3: run mvn clean install. Get a new set of failures.
> Step 4: rinse and repeat.
> 
> I could swear I had a clean mvn run before I posted the patches. Yet
> something seems to have reverted some of the expected files I modified,
> and now I have whole new tests failing.
> 
> 
> > -----Original Message-----
> > From: Daniel Kulp [mailto:dkulp@apache.org]
> > Sent: Thursday, September 06, 2007 12:37 PM
> > To: cxf-dev@incubator.apache.org
> > Cc: Glen Mazza
> > Subject: Re: [jira] Commented: (CXF-972) Define a tns prefix
> > 
> > 
> > Generally, I recommend an:
> > svn st
> > first to find any files with a "?".   svn add them.  Then do the
> > svn diff
> > The diff will then pick up the added files.
> > 
> > There is still an issue with binary files.   svn diff won't pick those
> > up.   Those need to just be attached by hand.   Kind of sucks.
> > 
> > 
> > There is also the svn-create-patch (and the then required svn-apply)
> > scripts available at:
> > http://www.sand-labs.org/owb/browser/trunk/WebKitTools/Scripts/
> > which handle the binaries much better.   Also handles things like
> > renames, moves, etc....
> > 
> > 
> > Dan
> > 
> > 
> > On Thursday 06 September 2007, Glen Mazza wrote:
> > > A couple of pointers:
> > >
> > > 1.) I have found "svn diff" from the command-line to be better than
> > > from within your IDE (at least for NetBeans--their IDE-generated
> > > difference files are kind of strange-looking).
> > >
> > > 2.) (of course) "svn diff" won't return a difference if the original
> > > file is not part of the repository (I don't how relevant that is to
> > > your situation here though.)
> > >
> > > HTH,
> > > Glen
> > >
> > > Am Donnerstag, den 06.09.2007, 11:35 -0400 schrieb Benson Margulies:
> > > > The patch is still not right, and I don't understand how to fix
> it.
> > > > Svn diff is only capturing one of several wsdl files that I
> > > > recaptured. Can anyone give me a boost here?
> > > >
> > > > > -----Original Message-----
> > > > > From: benson margulies (JIRA) [mailto:jira@apache.org]
> > > > > Sent: Thursday, September 06, 2007 11:31 AM
> > > > > To: Benson Margulies
> > > > > Subject: [jira] Commented: (CXF-972) Define a tns prefix
> > > > >
> > > > >
> > > > >     [ https://issues.apache.org/jira/browse/CXF-
> > > > >
> 972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> > > > > tabpanel#action_12525441 ]
> > > > >
> > > > > benson margulies commented on CXF-972:
> > > > > --------------------------------------
> > > > >
> > > > > Glen et al, I've update with a text file of patch that includes
> > > > > the recaptured wsdl from the tests.
> > > > >
> > > > > check
> > > > > in
> > > > > explicit
> > > > >
> > > > > > Define a tns prefix
> > > > > > -------------------
> > > > > >
> > > > > >                 Key: CXF-972
> > > > > >                 URL:
> > > > > > https://issues.apache.org/jira/browse/CXF-972 Project: CXF
> > > > > >          Issue Type: Improvement
> > > > > >          Components: Core
> > > > > >    Affects Versions: 2.0.1
> > > > > >            Reporter: benson margulies
> > > > > >             Fix For: 2.1
> > > > > >
> > > > > >         Attachments: tnspatches.txt
> > > > > >
> > > > > >
> > > > > > Currently, the CXF wsdl generator never creates a tns prefix.
> > > > > > Types
> > > >
> > > > in
> > > >
> > > > > the schema (or even wsdl) target namespace get automatically
> > > > > generated prefixes, like 'ns1'. The wsdl's would be more
> readable
> > > > > with the
> > > >
> > > > explicit
> > > >
> > > > > namespace.
> > > > >
> > > > > --
> > > > > This message is automatically generated by JIRA.
> > > > > -
> > > > > You can reply to this email to add a comment to the issue
> online.
> > 
> > 
> > 
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727    C: 508-380-7194
> > daniel.kulp@iona.com
> > http://www.dankulp.com/blog


RE: [jira] Commented: (CXF-972) Define a tns prefix

Posted by Benson Margulies <bi...@basistech.com>.
At the moment, I'm having the following disorienting experience.

Step 1: run mvn install. Get a few failures.
Step 2: running in eclipse, fix them. Fixes are purely in the test
themselves.
Step 3: run mvn clean install. Get a new set of failures.
Step 4: rinse and repeat.

I could swear I had a clean mvn run before I posted the patches. Yet
something seems to have reverted some of the expected files I modified,
and now I have whole new tests failing.


> -----Original Message-----
> From: Daniel Kulp [mailto:dkulp@apache.org]
> Sent: Thursday, September 06, 2007 12:37 PM
> To: cxf-dev@incubator.apache.org
> Cc: Glen Mazza
> Subject: Re: [jira] Commented: (CXF-972) Define a tns prefix
> 
> 
> Generally, I recommend an:
> svn st
> first to find any files with a "?".   svn add them.  Then do the
> svn diff
> The diff will then pick up the added files.
> 
> There is still an issue with binary files.   svn diff won't pick those
> up.   Those need to just be attached by hand.   Kind of sucks.
> 
> 
> There is also the svn-create-patch (and the then required svn-apply)
> scripts available at:
> http://www.sand-labs.org/owb/browser/trunk/WebKitTools/Scripts/
> which handle the binaries much better.   Also handles things like
> renames, moves, etc....
> 
> 
> Dan
> 
> 
> On Thursday 06 September 2007, Glen Mazza wrote:
> > A couple of pointers:
> >
> > 1.) I have found "svn diff" from the command-line to be better than
> > from within your IDE (at least for NetBeans--their IDE-generated
> > difference files are kind of strange-looking).
> >
> > 2.) (of course) "svn diff" won't return a difference if the original
> > file is not part of the repository (I don't how relevant that is to
> > your situation here though.)
> >
> > HTH,
> > Glen
> >
> > Am Donnerstag, den 06.09.2007, 11:35 -0400 schrieb Benson Margulies:
> > > The patch is still not right, and I don't understand how to fix
it.
> > > Svn diff is only capturing one of several wsdl files that I
> > > recaptured. Can anyone give me a boost here?
> > >
> > > > -----Original Message-----
> > > > From: benson margulies (JIRA) [mailto:jira@apache.org]
> > > > Sent: Thursday, September 06, 2007 11:31 AM
> > > > To: Benson Margulies
> > > > Subject: [jira] Commented: (CXF-972) Define a tns prefix
> > > >
> > > >
> > > >     [ https://issues.apache.org/jira/browse/CXF-
> > > >
972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> > > > tabpanel#action_12525441 ]
> > > >
> > > > benson margulies commented on CXF-972:
> > > > --------------------------------------
> > > >
> > > > Glen et al, I've update with a text file of patch that includes
> > > > the recaptured wsdl from the tests.
> > > >
> > > > check
> > > > in
> > > > explicit
> > > >
> > > > > Define a tns prefix
> > > > > -------------------
> > > > >
> > > > >                 Key: CXF-972
> > > > >                 URL:
> > > > > https://issues.apache.org/jira/browse/CXF-972 Project: CXF
> > > > >          Issue Type: Improvement
> > > > >          Components: Core
> > > > >    Affects Versions: 2.0.1
> > > > >            Reporter: benson margulies
> > > > >             Fix For: 2.1
> > > > >
> > > > >         Attachments: tnspatches.txt
> > > > >
> > > > >
> > > > > Currently, the CXF wsdl generator never creates a tns prefix.
> > > > > Types
> > >
> > > in
> > >
> > > > the schema (or even wsdl) target namespace get automatically
> > > > generated prefixes, like 'ns1'. The wsdl's would be more
readable
> > > > with the
> > >
> > > explicit
> > >
> > > > namespace.
> > > >
> > > > --
> > > > This message is automatically generated by JIRA.
> > > > -
> > > > You can reply to this email to add a comment to the issue
online.
> 
> 
> 
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog

Re: [jira] Commented: (CXF-972) Define a tns prefix

Posted by Daniel Kulp <dk...@apache.org>.
Generally, I recommend an:
svn st
first to find any files with a "?".   svn add them.  Then do the
svn diff
The diff will then pick up the added files.

There is still an issue with binary files.   svn diff won't pick those 
up.   Those need to just be attached by hand.   Kind of sucks.


There is also the svn-create-patch (and the then required svn-apply) 
scripts available at:
http://www.sand-labs.org/owb/browser/trunk/WebKitTools/Scripts/
which handle the binaries much better.   Also handles things like 
renames, moves, etc....


Dan


On Thursday 06 September 2007, Glen Mazza wrote:
> A couple of pointers:
>
> 1.) I have found "svn diff" from the command-line to be better than
> from within your IDE (at least for NetBeans--their IDE-generated
> difference files are kind of strange-looking).
>
> 2.) (of course) "svn diff" won't return a difference if the original
> file is not part of the repository (I don't how relevant that is to
> your situation here though.)
>
> HTH,
> Glen
>
> Am Donnerstag, den 06.09.2007, 11:35 -0400 schrieb Benson Margulies:
> > The patch is still not right, and I don't understand how to fix it.
> > Svn diff is only capturing one of several wsdl files that I
> > recaptured. Can anyone give me a boost here?
> >
> > > -----Original Message-----
> > > From: benson margulies (JIRA) [mailto:jira@apache.org]
> > > Sent: Thursday, September 06, 2007 11:31 AM
> > > To: Benson Margulies
> > > Subject: [jira] Commented: (CXF-972) Define a tns prefix
> > >
> > >
> > >     [ https://issues.apache.org/jira/browse/CXF-
> > > 972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> > > tabpanel#action_12525441 ]
> > >
> > > benson margulies commented on CXF-972:
> > > --------------------------------------
> > >
> > > Glen et al, I've update with a text file of patch that includes
> > > the recaptured wsdl from the tests.
> > >
> > > check
> > > in
> > > explicit
> > >
> > > > Define a tns prefix
> > > > -------------------
> > > >
> > > >                 Key: CXF-972
> > > >                 URL:
> > > > https://issues.apache.org/jira/browse/CXF-972 Project: CXF
> > > >          Issue Type: Improvement
> > > >          Components: Core
> > > >    Affects Versions: 2.0.1
> > > >            Reporter: benson margulies
> > > >             Fix For: 2.1
> > > >
> > > >         Attachments: tnspatches.txt
> > > >
> > > >
> > > > Currently, the CXF wsdl generator never creates a tns prefix.
> > > > Types
> >
> > in
> >
> > > the schema (or even wsdl) target namespace get automatically
> > > generated prefixes, like 'ns1'. The wsdl's would be more readable
> > > with the
> >
> > explicit
> >
> > > namespace.
> > >
> > > --
> > > This message is automatically generated by JIRA.
> > > -
> > > You can reply to this email to add a comment to the issue online.



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

RE: [jira] Commented: (CXF-972) Define a tns prefix

Posted by Glen Mazza <gl...@verizon.net>.
A couple of pointers:

1.) I have found "svn diff" from the command-line to be better than from
within your IDE (at least for NetBeans--their IDE-generated difference
files are kind of strange-looking).

2.) (of course) "svn diff" won't return a difference if the original
file is not part of the repository (I don't how relevant that is to your
situation here though.)

HTH,
Glen

Am Donnerstag, den 06.09.2007, 11:35 -0400 schrieb Benson Margulies:
> The patch is still not right, and I don't understand how to fix it. Svn
> diff is only capturing one of several wsdl files that I recaptured. Can
> anyone give me a boost here?
> 
> > -----Original Message-----
> > From: benson margulies (JIRA) [mailto:jira@apache.org]
> > Sent: Thursday, September 06, 2007 11:31 AM
> > To: Benson Margulies
> > Subject: [jira] Commented: (CXF-972) Define a tns prefix
> > 
> > 
> >     [ https://issues.apache.org/jira/browse/CXF-
> > 972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> > tabpanel#action_12525441 ]
> > 
> > benson margulies commented on CXF-972:
> > --------------------------------------
> > 
> > Glen et al, I've update with a text file of patch that includes the
> > recaptured wsdl from the tests.
> > 
> > check
> > in
> > explicit
> > 
> > 
> > 
> > > Define a tns prefix
> > > -------------------
> > >
> > >                 Key: CXF-972
> > >                 URL: https://issues.apache.org/jira/browse/CXF-972
> > >             Project: CXF
> > >          Issue Type: Improvement
> > >          Components: Core
> > >    Affects Versions: 2.0.1
> > >            Reporter: benson margulies
> > >             Fix For: 2.1
> > >
> > >         Attachments: tnspatches.txt
> > >
> > >
> > > Currently, the CXF wsdl generator never creates a tns prefix. Types
> in
> > the schema (or even wsdl) target namespace get automatically generated
> > prefixes, like 'ns1'. The wsdl's would be more readable with the
> explicit
> > namespace.
> > 
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the issue online.
>