Re: I need WO help.
Re: I need WO help.
- Subject: Re: I need WO help.
- From: Jonathan Rochkind <email@hidden>
- Date: Mon, 09 Jun 2003 16:05:43 -0500
Well, no, if you actually have the .java files (as opposed to compiled
.class files), then you have the source. So you're set. If you have a
Project Builder project containing those files, you are even more set, you
are fine. You just open up the project in project builder, you can make
changes, recompile it, whatever.
If you have the .java files but do not have a Project Builder project
(don't know how that would happen, but it's possible), you will probably
want to build a Project Builder project, to make it easier to edit and
recompile them. That can be done.
If you do not have the .java source, but all you have is the .class
compiled files, that's when you would need to decompile them into .java
source (and then probably create a Project Builder project including them)
to make changes. Which is messy and unpleasant, but can also be done in an
emergency. [Although it may or may not violate your licensing agreements,
depending on where you got the .class files from under what licenses].
Hope this helps,
--Jonathan
At 04:23 PM 6/9/2003 -0400, Martelli Michael C wrote:
Thanks and I see your point, that may def. hinder what I can do with
this, but I did find the java files actually, they were in a zip file
in another directory that I didnt think to look in, but as you just
told that wont matter because i cant re-compile the those files, so
basically im stuck--correct?
-----------------------------------------
Michael Martelli Jr
University of Scranton - Computer Science
List: db.etree.org/marshmeli
Site: www.cs.uofs.edu/~mcm6
----- Original Message -----
From: Jonathan Rochkind <email@hidden>
Date: Monday, June 9, 2003 4:19 pm
Subject: Re: I need WO help.
> The Java source files are not part of the deployed product. The
> (compiled)
> product does not include source, and is not a "Project" that you
> can work
> on with the Apple IDEs (or any other IDE, really).
>
> Since the actual .html/.wod isn't compiled, you can sort of get
> around this
> and cheat when editing these. But to actually make significant
> changes,
> you need the source. Ideally you would get this source from
> whoever wrote
> it. It _is_ possible to 'decompile' the Java virtual machine
> code into
> Java source. But if an outside vendor who wrote it is unwilling
> to just
> give you the source, then it would probably violate your license
> with them
> to decompile it yourself. And decompiled source is usually messy
> and hard
> to read and work with (although better for Java than for other
> traditional
> languages!). If you wanted to go this root, once you decompiled
> everything
> into .java files, you'd need to put them together into an Apple
> Project
> Builder project, so you could edit them and recompile them (and
> redeploy
> them). But it's going to be kind of a pain.
>
> --Jonathan
>
> At 03:35 PM 6/9/2003 -0400, Martelli Michael C wrote:
> >I am trying to do what you told me but there are no .java (classes)
> >files. So I cannot edit them. To me that seems very odd. Again
> >this system was not developed by and outside vendor so I do not know
> >how they did it. But in the .api file they do reference a class,
> but i
> >cannot find that class (or any other) file(s) on the server. Do u
> >have any idea why this is so?
> >Thanks
> >
> >-----------------------------------------
> >Michael Martelli Jr
> >University of Scranton - Computer Science
> >List: db.etree.org/marshmeli
> >Site: www.cs.uofs.edu/~mcm6
> >
> > > ----- Original Message -----
> > > From: "email@hidden" <email@hidden>
> > > Date: Sunday, June 8, 2003 5:24 pm
> > > Subject: Re: I need WO help.
> > >
> > > > if you want to copy/duplicate files (i hope you mean web
> > > > components)
> > > > you can copy the .woo and the .wod file but in the .api file you
> > > > have
> > > > to ensure that you set the class like the name of your
> component:> > >
> > > > <wo wocomponentcontent="false" class="Yourclass">
> > > >
> > > > ,where Yourclass is the name of the component.
> > > > in the .java file you have do change the classes as well but 2
> > > times:>
> > > > 1. public class Yourclass extends WOComponent {
> > > >
> > > > 2. public Yourclass(WOContext context) {
> > > >
> > > > the rest you can just copy and paste keeping the rest as is.
> > > > hope that helps because you are a little unprecise...
> > > >
> > > > christian
> > > >
> > > >
> > > > Am Samstag, 07.06.03, um 02:50 Uhr (Europe/Berlin) schrieb
> > > > Martelli
> > > > Michael C:
> > > >
> > > > > Yeah I dont know much about WO but I am trying to edit a site
> > > in WO.
> > > > > There lot of WO in this site and I wanted to add an item that
> > > is
> > > > in a
> > > > > page to another page. This item is a search function (text
> > > bar and
> > > > > search button). I want to add this to the Nav bar of the site
> > > > so on
> > > > > every page the search feature will appear. As of now I
> have been
> > > > > trying for the past 2 days but no luck. There must be some
> > > > thing I a
> > > > > missing when i copy over the WO files and code from the other
> > > > page. If
> > > > > anyone can help or guide me in the right direction to a
> site that
> > > > > descirbes WO in detail and how they work, so maybe can shed
> > > some
> > > > light> on this topic. If you need me to to be more clear I can.
> > > > > Thanks
> > > > >
> > > > > -----------------------------------------
> > > > > Michael Martelli Jr
> > > > > University of Scranton - Computer Science
> > > > > List: db.etree.org/marshmeli
> > > > > Site: www.cs.uofs.edu/~mcm6
> > > > > _______________________________________________
> > > > > webobjects-dev mailing list | email@hidden
> > > > > Help/Unsubscribe/Archives:
> > > > > http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> > > > > Do not post admin requests to the list. They will be ignored.
> > > > _______________________________________________
> > > > webobjects-dev mailing list | email@hidden
> > > > Help/Unsubscribe/Archives:
> > > > http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> > > > Do not post admin requests to the list. They will be ignored.
> >_______________________________________________
> >webobjects-dev mailing list | email@hidden
> >Help/Unsubscribe/Archives:
> >http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> >Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.