Discussion:
Update on Open PowerPlant
(too old to reply)
Ron L
2006-01-09 17:47:30 UTC
Permalink
I have an update on open sourcing PowerPlant. I got pulled aside so I
couldn't do as much as I needed to do in order to get this up on source
forge last month, and I apologize to all for that.

Finally, I have everythig approved, all the paperwork done, the source
forge project created (open-powerplant) and just need to modify the
headers and sources to add a freescale copyright and disclaimer. I
will have this up this week.

If anyone has a script for adding headers to text files, send it
directly to me. I'm not good at scripting so any SED or python or
anything you can send me is appreciated.

Ron
--
CodeWarrior Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and our staff
-- http://www.codewarrior.com/community --

Ron Liechty - ***@freescale.com - http://www.codewarrior.com
David Phillip Oster
2006-01-09 18:31:49 UTC
Permalink
Post by Ron L
If anyone has a script for adding headers to text files, send it
directly to me. I'm not good at scripting so any SED or python or
anything you can send me is appreciated.
The easiest way to do it is to put the boilerplate at the END of the
file, that way, comments at the top that describe the file aren't
disturbed. Here is a shell command, adder, used like this:

% ./adder *.c *.h

that appends boilerplate to each file.

#!/bin/sh
for i in $*
do
cat >> $i <<HERE_DOCUMENT
Simulated boilerplate line 1 here.
Simulated boilerplate line 2 here.
HERE_DOCUMENT
done





If that isn't good enough, here is a revised "adder" that adds the lines
to the beginning:

#!/bin/sh
for i in $*
do
ed $i <<HERE_DOCUMENT
0a
more boilerplate line 1 here.
more boilerplate line 2 here.
.
w
q
HERE_DOCUMENT
done
kiyookasan
2006-01-10 21:11:45 UTC
Permalink
Hi Ron,

Thanks - this is really great news. Looking forward to it.

I've been using XCode lately (arg!) and I don't suppose y'all down in
Austin would reconsider the Mactel thing... I'd be willing to work on
my Windows machine if that is what it would take.

Gen
l***@skytag.com
2006-01-15 23:41:09 UTC
Permalink
Post by kiyookasan
I've been using XCode lately (arg!) and I don't suppose y'all down in
Austin would reconsider the Mactel thing... I'd be willing to work on
my Windows machine if that is what it would take.
It would take a lot more than that. Where have you been that past few
months? Freescale sold all their Intel technology to Nokia several
months ago and removed all remnants of it from CW 9. Then they killed
CW for the Mac. There's no one working on CW for the Mac or Windows. No
one. Dead product. Even Ron's left the building.

Larry

kiyookasan
2006-01-10 21:25:21 UTC
Permalink
One additional request: could you open source Constructor for Classic
PowerPlant?

That way, if we continue to maintain our PowerPlant code we can keep
building.

Just a thought.

Gen
Ron L
2006-01-11 19:35:17 UTC
Permalink
Post by kiyookasan
One additional request: could you open source Constructor for Classic
PowerPlant?
That way, if we continue to maintain our PowerPlant code we can keep
building.
Just a thought.
Yes it was included in the project to be open sourced.

Ron
--
CodeWarrior Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and our staff
-- http://www.codewarrior.com/community --

Ron Liechty - ***@freescale.com - http://www.codewarrior.com
Loading...