Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] new downloads page


> I'm not sure what that means. :-) I guess I'm supposed to unzip
> them and see what happens?


Where 'ya been?  :)

Off hand, I'm not sure where this is documented well, but there's a lot of
mailing list and bugzillas about them. They are exactly like
a repository you'd get via HTTP, but zipped up. The original
goals were 1) provide a P2 repo that builds or adopters could use that
they could "hang on to" instead of trusting HTTP get's to return exactly
the same thing each time (some projects are more reliable than others ;) and
2) give users a repo since it has all the artifact and metadata computed already,
so in theory should be better and faster to install that. (Traditional unzipping has to compute
the metadata "on the fly" and will not give as good of diagnostics, if something
is not right).

> I unzip all the prereq zip files into an eclipse folder. I unzip the 3
> zipped P2 repositories into separate folders. (Do I need to unzip
> them? Not sure.)


You don't have to, you can even drag and drop them on top of "install new software" wizard.
But, honestly, I find it seems faster, if I unzip them in separate folder first. Also, In some cases, you
will want to "reuse" some, while swapping in new versions for something else, so in those
cases, overall, there is less unzipping going on (happens just once per repo).

I'll say up front, I haven't tried your exact scenario, but have done similar things, with out
these issues you found.

So, let's check the basics ...

When adding it to software locations, you do tell the wizard it is a "software site", right?
Not a "directory"? You can, by the way, unzip a normal zip file, and add it to software sites list ...
but in that case you of course say it is a directory, and b. all the metadata has to be
computed on the fly (but, still get better diagnostics this way).

Second, you do have all the other pre-reqs installed already, that WTP needs, right?
I don't think you need them all in your target (some can still come from your workbench,
I think ... but, I'd have to check. I normally have "everything" in the target. That's how I
test if there are compile or versioning errors, before moving up pre-reqs in the build.

> Then I add 3
> Software Sites, one for each of the new P2 directories from the
> P2 zip files. When using the wizard to add a Software Site,


... sounds right so far.

> I'm not
> sure which content to add. The WST repository has two options -
> I guess I only need the "SDK" option(?). I'm not sure what I'm
> supposed to do with the "Project Provided Components" option in
> the JST repository.


Oh, just pick 'em all. :)  In effect, that would be a little redundant, but picking
them ends up being the same thing as unzipping the whole WTP SDK traditional zip.
Redundant in a couple of ways ... SDK's contain minimal code also, so no real need
to pick minimal versions if you want SDK (but, you might pick minimal if you really
wanted minimal. But ... here could be bugs. I normally pick everything,

The "Project Provided Components" was at one point going to be a place to pick "stand alone" components,
like faceted project features. The separate "server adapters" currently there looks like its fading from Helios.
(That is, won't be separate). So, that whole category may just go away this release.

Oh, another basic ... you are using a recent base build, like M6 or something, right?

> Once I add all this content, I have a number of problems listed in the
> Edit Target Definition dialog:
> Under the WST repository:
>    Cannot satisfy dependency:
>    Cannot satisfy dependency:
>    Missing requirement: Eclipse _javascript_ Development Tools...


This is the smoking gun that something is really messed up.

JSDT depends on almost nothing, so indicates your files are corrupt, or
you are trying to use an M6 target with a Galileo Dev. Env., or something.


Its good to know people are trying these new workflows. In theory, should be
easier/faster than traditional zips, once we get used to them, ... but ... you
know how that goes.

I hope others can report success or similar problems and maybe get the
issues narrowed down. As far as I know, there could be order effects, or something.








From: Brian Vosburgh <brian.vosburgh@xxxxxxxxxx>
To: Eclipse WTP <wtp-dev@xxxxxxxxxxx>
Date: 03/18/2010 11:52 AM
Subject: [wtp-dev] new downloads page
Sent by: wtp-dev-bounces@xxxxxxxxxxx





I'll probably expose some ignorance here, but I'm having some
problems using the new P2 repositories. Big surprise. Here's what
I do:

I go to the recently generated M6 download page.
It tells me I should be using the P2 repositories instead of the zip
files I've used for several years now.
I'm not sure what that means. :-) I guess I'm supposed to unzip
them and see what happens?

I unzip all the prereq zip files into an eclipse folder. I unzip the 3
zipped P2 repositories into separate folders. (Do I need to unzip
them? Not sure.)

Anyway, I add a new Target Workspace in my host workspace,
pointing to the newly unzipped eclipse directory. Then I add 3
Software Sites, one for each of the new P2 directories from the
P2 zip files. When using the wizard to add a Software Site, I'm not
sure which content to add. The WST repository has two options -
I guess I only need the "SDK" option(?). I'm not sure what I'm
supposed to do with the "Project Provided Components" option in
the JST repository.

Once I add all this content, I have a number of problems listed in the
Edit Target Definition dialog:
Under the WST repository:
  Cannot satisfy dependency:
  Cannot satisfy dependency:
  Missing requirement: Eclipse _javascript_ Development Tools...
  Software being installed: Eclipse _javascript_ Development Tools...
Under the JST repository:
  Cannot satisfy dependency:
  Missing requirement: Apache MyFaces Trinidad Tag Support (Optional)...
  Software being installed: Apache MyFaces Trinidad Tag Support (Optional)...
Under the Dali repository:
  Cannot satisfy dependency:
  Missing requirement: Dali Java Persistence Tools...
  Software being installed: Dali Java Persistence Tools...


Compiling against this target workspace results in lots of unresolved bundles.

Does any of this make sense? Can anyone help me fix these problems?

Thanks.
Brian
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev



Back to the top