Re: OODT-15: Status Update

2010-07-15 Thread Mattmann, Chris A (388J)
Sounds fine to me! Thanks...

Cheers,
Chris



On 7/15/10 5:25 AM, "Andrew Hart"  wrote:

Justin, Chris,

I'm really interested in learning this aspect of things, but I know for
a fact I won't have had time to address it by this weekend. I will,
however, be at OSCON next week presenting (Thurs AM) in Chris's stead.
Can I take you up on your offer Justin? Chris, does it sound OK?

-Andrew.




On 7/14/10 9:32 PM, Mattmann, Chris A (388J) wrote:
> Hey Justin,
>
> Sure, I'll see if I can muster up some time this weekend if no one has 
> tackled it by then...
>
> Cheers,
> Chris
>
>
>
> On 7/14/10 9:14 PM, "Justin Erenkrantz"  wrote:
>
> On Mon, Jul 12, 2010 at 7:37 PM, Mattmann, Chris A (388J)
>   wrote:
>
>> P.S. Could someone please run RAT [1] on the OODT source code? I think
>> OODT-3 is done, and would like to verify. Please note the comment on OODT-3
>> that mentions posting the RAT report to the issue. Thanks!
>>
>> [1] http://incubator.apache.org/rat/
>>
> How about this?  If no one gets to it by next week, how about we
> figure out how to run RAT during OSCON booth duty?  The ASF has a
> booth next week and I'm planning to man it in the afternoons on Wed
> and Thurs.  -- justin
>
>
>
> ++
> Chris Mattmann, Ph.D.
> Senior Computer Scientist
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 171-266B, Mailstop: 171-246
> Email: chris.mattm...@jpl.nasa.gov
> WWW:   http://sunset.usc.edu/~mattmann/
> ++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++
>
>




++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++



Re: OODT-15: Status Update

2010-07-15 Thread Andrew Hart

Justin, Chris,

I'm really interested in learning this aspect of things, but I know for 
a fact I won't have had time to address it by this weekend. I will, 
however, be at OSCON next week presenting (Thurs AM) in Chris's stead. 
Can I take you up on your offer Justin? Chris, does it sound OK?


-Andrew.




On 7/14/10 9:32 PM, Mattmann, Chris A (388J) wrote:

Hey Justin,

Sure, I'll see if I can muster up some time this weekend if no one has tackled 
it by then...

Cheers,
Chris



On 7/14/10 9:14 PM, "Justin Erenkrantz"  wrote:

On Mon, Jul 12, 2010 at 7:37 PM, Mattmann, Chris A (388J)
  wrote:
   

P.S. Could someone please run RAT [1] on the OODT source code? I think
OODT-3 is done, and would like to verify. Please note the comment on OODT-3
that mentions posting the RAT report to the issue. Thanks!

[1] http://incubator.apache.org/rat/
 

How about this?  If no one gets to it by next week, how about we
figure out how to run RAT during OSCON booth duty?  The ASF has a
booth next week and I'm planning to man it in the afternoons on Wed
and Thurs.  -- justin



++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++

   




Re: OODT-15: Status Update

2010-07-14 Thread Mattmann, Chris A (388J)
Hey Justin,

Sure, I'll see if I can muster up some time this weekend if no one has tackled 
it by then...

Cheers,
Chris



On 7/14/10 9:14 PM, "Justin Erenkrantz"  wrote:

On Mon, Jul 12, 2010 at 7:37 PM, Mattmann, Chris A (388J)
 wrote:
> P.S. Could someone please run RAT [1] on the OODT source code? I think
> OODT-3 is done, and would like to verify. Please note the comment on OODT-3
> that mentions posting the RAT report to the issue. Thanks!
>
> [1] http://incubator.apache.org/rat/

How about this?  If no one gets to it by next week, how about we
figure out how to run RAT during OSCON booth duty?  The ASF has a
booth next week and I'm planning to man it in the afternoons on Wed
and Thurs.  -- justin



++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++



Re: OODT-15: Status Update

2010-07-14 Thread Mattmann, Chris A (388J)
LOL, sure, mainly just did it incrementally because Eclipse dies out on me 
whenever I do anything large...ugh...


On 7/14/10 8:58 PM, "Justin Erenkrantz"  wrote:

On Mon, Jul 12, 2010 at 7:37 PM, Mattmann, Chris A (388J)
 wrote:
> OK, as you've probably seen, I've been really trying to pick up where ahart
> left off, and forge ahead on OODT-15. I've now gone through each and every

Yikes, those are really fine-grained commits!  Could there have been a
way to do it in larger commits?

With my SVN dev hat on, it would probably be good to hear what you
were trying to do over drinks next week at OSCON.  -- justin



++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
Phone: +1 (818) 354-8810
++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++



Re: OODT-15: Status Update

2010-07-14 Thread Justin Erenkrantz
On Mon, Jul 12, 2010 at 7:37 PM, Mattmann, Chris A (388J)
 wrote:
> P.S. Could someone please run RAT [1] on the OODT source code? I think
> OODT-3 is done, and would like to verify. Please note the comment on OODT-3
> that mentions posting the RAT report to the issue. Thanks!
>
> [1] http://incubator.apache.org/rat/

How about this?  If no one gets to it by next week, how about we
figure out how to run RAT during OSCON booth duty?  The ASF has a
booth next week and I'm planning to man it in the afternoons on Wed
and Thurs.  -- justin


Re: OODT-15: Status Update

2010-07-14 Thread Justin Erenkrantz
On Mon, Jul 12, 2010 at 7:37 PM, Mattmann, Chris A (388J)
 wrote:
> OK, as you've probably seen, I've been really trying to pick up where ahart
> left off, and forge ahead on OODT-15. I've now gone through each and every

Yikes, those are really fine-grained commits!  Could there have been a
way to do it in larger commits?

With my SVN dev hat on, it would probably be good to hear what you
were trying to do over drinks next week at OSCON.  -- justin


Re: OODT-15 status update

2010-07-08 Thread Mattmann, Chris A (388J)
Hey Andrew,

Thanks a bunch! This is a great little script here! If I have some free cycles, 
I'll execute the process below on anything I find. I know Sean Kelly is also 
looking through all of the code per OODT-16 so he mentioned he would try and do 
the same. I think we are getting close to 0.1-incubating here! :)

Cheers,
Chris



On 7/7/10 10:39 AM, "Andrew Hart"  wrote:

In the interest of enabling anyone who may have free cycles for this,
here's the "magic tool" I've been using to address this so far. I've
been doing the below on a per-project basis because I've found some
projects to have variations in structure that differ from the following
general recipe:

# (Repeat for each of the (~10) projects)
# Create SVN directory structure
cd /src/main/java
svn mkdir --parents org/apache

# Move oodt out of gov/nasa/jpl into org/apache tree
svn move gov/nasa/jpl/oodt org/apache/oodt

# Replace all g.n.j with o.a
cd org/apache/oodt
find . -name "*.java" -exec sed -i 's/gov.nasa.jpl/org.apache/g' '{}' \;
find . -name "*.jsp"  -exec sed -i 's/gov.nasa.jpl/org.apache/g' '{}' \;

# Verify and commit
cd 
svn status
svn commit -m "progress towards OODT-15: rename packages and imports to
'org.apache.*' ()" *


HTH,

Andrew.

On 7/7/10 6:47 AM, Mattmann, Chris A (388J) wrote:
> Hey Andrew,
>
>
>> (sorry if this is a dup. tried sending via ah...@apache.org, but +30 mins
>> haven't seen it delivered)
>>
> Should get delivered now, it was held in list mod. You may want to send an
> email from your ah...@apache.org account to
> oodt-dev-subscr...@incubator.apache.org then you should be able to post OK.
>
>
>> Chris (Mattmann),
>>
>> I got a start on renaming packages and imports. I've taken one pass through
>> each project, and have at least one more to go. Here's some status about what
>> has been done so far:
>>
>> Every project that had a src/main/java/gov/nasa/jpl/oodt directory now has a
>> src/main/java/org/apache/oodt directory (with the contents svn 'move'd to the
>> o.a dir)
>>
>> Every *.java file that was moved to an o.a directory was further processed to
>> replace internal occurrences of gov.nasa.jpl with org.apache. (package&
>> import statements)
>>
>>
> Awesome! Great job.
>
>
>>
>> Here's what still needs to be done:
>>
>> Some projects have jpl.eda directories instead of gov.nasa.jpl. I still need 
>> a
>> special pass to handle them (specifically: 'product', 'profile', 'query',
>> 'xmlquery') but I have a question: Do we want to maintain the 'eda' legacy --
>> i.e.: should we create o/a/eda as well as o/a/oodt, or do you think we should
>> somehow unify them going forward?
>>
> My proposal is that we should get rid of the eda legacy and move the
> packages to o.a.oodt.X and unify them. This will likely be a manual process.
> Let me take a look at what's there. I have some ideas for how to merge the
> code.
>
>
>> So far only .java files have been internally scrubbed of gov.nasa.jpl (not
>> .jsp!). I need to make one more pass for .jsp files (limited to those 
>> projects
>> with webapps).
>>
> Cool, shouldn't be too much of these.
>
>
>> So far only files in src/main/java have been moved from g/n/j/oodt to
>> o/a/oodt. I need one more pass for test files (src/main/test) for all
>> projects.
>>
> Okey dok, +1. Please run your magic tool on the test stuff when you get a
> chance, thanks!
>
> Cheers,
> Chris
>
>
> ++
> Chris Mattmann, Ph.D.
> Senior Computer Scientist
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 171-266B, Mailstop: 171-246
> Email: chris.mattm...@jpl.nasa.gov
> WWW:   http://sunset.usc.edu/~mattmann/
> ++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++
>
>
>




++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++



Re: OODT-15 status update

2010-07-07 Thread Andrew Hart
In the interest of enabling anyone who may have free cycles for this, 
here's the "magic tool" I've been using to address this so far. I've 
been doing the below on a per-project basis because I've found some 
projects to have variations in structure that differ from the following 
general recipe:


# (Repeat for each of the (~10) projects)
# Create SVN directory structure
cd /src/main/java
svn mkdir --parents org/apache

# Move oodt out of gov/nasa/jpl into org/apache tree
svn move gov/nasa/jpl/oodt org/apache/oodt

# Replace all g.n.j with o.a
cd org/apache/oodt
find . -name "*.java" -exec sed -i 's/gov.nasa.jpl/org.apache/g' '{}' \;
find . -name "*.jsp"  -exec sed -i 's/gov.nasa.jpl/org.apache/g' '{}' \;

# Verify and commit
cd 
svn status
svn commit -m "progress towards OODT-15: rename packages and imports to 
'org.apache.*' ()" *



HTH,

Andrew.

On 7/7/10 6:47 AM, Mattmann, Chris A (388J) wrote:

Hey Andrew,

   

(sorry if this is a dup. tried sending via ah...@apache.org, but +30 mins
haven't seen it delivered)
 

Should get delivered now, it was held in list mod. You may want to send an
email from your ah...@apache.org account to
oodt-dev-subscr...@incubator.apache.org then you should be able to post OK.

   

Chris (Mattmann),

I got a start on renaming packages and imports. I've taken one pass through
each project, and have at least one more to go. Here's some status about what
has been done so far:

Every project that had a src/main/java/gov/nasa/jpl/oodt directory now has a
src/main/java/org/apache/oodt directory (with the contents svn 'move'd to the
o.a dir)

Every *.java file that was moved to an o.a directory was further processed to
replace internal occurrences of gov.nasa.jpl with org.apache. (package&
import statements)

 

Awesome! Great job.

   


Here's what still needs to be done:

Some projects have jpl.eda directories instead of gov.nasa.jpl. I still need a
special pass to handle them (specifically: 'product', 'profile', 'query',
'xmlquery') but I have a question: Do we want to maintain the 'eda' legacy --
i.e.: should we create o/a/eda as well as o/a/oodt, or do you think we should
somehow unify them going forward?
 

My proposal is that we should get rid of the eda legacy and move the
packages to o.a.oodt.X and unify them. This will likely be a manual process.
Let me take a look at what's there. I have some ideas for how to merge the
code.

   

So far only .java files have been internally scrubbed of gov.nasa.jpl (not
.jsp!). I need to make one more pass for .jsp files (limited to those projects
with webapps).
 

Cool, shouldn't be too much of these.

   

So far only files in src/main/java have been moved from g/n/j/oodt to
o/a/oodt. I need one more pass for test files (src/main/test) for all
projects.
 

Okey dok, +1. Please run your magic tool on the test stuff when you get a
chance, thanks!

Cheers,
Chris


++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++


   




Re: OODT-15 status update

2010-07-07 Thread Mattmann, Chris A (388J)
Hey Andrew,

> (sorry if this is a dup. tried sending via ah...@apache.org, but +30 mins
> haven't seen it delivered)

Should get delivered now, it was held in list mod. You may want to send an
email from your ah...@apache.org account to
oodt-dev-subscr...@incubator.apache.org then you should be able to post OK.

> 
> Chris (Mattmann),
> 
> I got a start on renaming packages and imports. I've taken one pass through
> each project, and have at least one more to go. Here's some status about what
> has been done so far:
> 
> Every project that had a src/main/java/gov/nasa/jpl/oodt directory now has a
> src/main/java/org/apache/oodt directory (with the contents svn 'move'd to the
> o.a dir)
> 
> Every *.java file that was moved to an o.a directory was further processed to
> replace internal occurrences of gov.nasa.jpl with org.apache. (package&
> import statements)
> 

Awesome! Great job.

> 
> 
> Here's what still needs to be done:
> 
> Some projects have jpl.eda directories instead of gov.nasa.jpl. I still need a
> special pass to handle them (specifically: 'product', 'profile', 'query',
> 'xmlquery') but I have a question: Do we want to maintain the 'eda' legacy --
> i.e.: should we create o/a/eda as well as o/a/oodt, or do you think we should
> somehow unify them going forward?

My proposal is that we should get rid of the eda legacy and move the
packages to o.a.oodt.X and unify them. This will likely be a manual process.
Let me take a look at what's there. I have some ideas for how to merge the
code.

> 
> So far only .java files have been internally scrubbed of gov.nasa.jpl (not
> .jsp!). I need to make one more pass for .jsp files (limited to those projects
> with webapps).

Cool, shouldn't be too much of these.

> 
> So far only files in src/main/java have been moved from g/n/j/oodt to
> o/a/oodt. I need one more pass for test files (src/main/test) for all
> projects.

Okey dok, +1. Please run your magic tool on the test stuff when you get a
chance, thanks!

Cheers,
Chris


++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.mattm...@jpl.nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++




Re: OODT-15 status update

2010-07-07 Thread Sean Kelly
> Some projects have jpl.eda directories instead of gov.nasa.jpl. I still need 
> a special pass to handle them (specifically: 'product', 'profile', 'query', 
> 'xmlquery') but I have a question: Do we want to maintain the 'eda' legacy -- 
> i.e.: should we create o/a/eda as well as o/a/oodt, or do you think we should 
> somehow unify them going forward?

My two cents: "eda" must die. Unify.

The only legacy it ever had was our stillborn bid back at JPL in early 2000s to 
become the lab-wide metadata layer. Changing our name from OODT to EDA (and 
then to EDM, ugh) wasn't sufficient—but it certainly was stupid.

Thanks for all your effort on this tedious but necessary work!