Issue Details (XML | Word | Printable)

Key: FXP-43
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Bratukhin, Andrey
Reporter: Katz, Max
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JavaFX plug-in

Referencing other projects and Jars on Java Build Path is not working

Created: 12/Apr/10 04:35 PM   Updated: 26/May/10 05:07 PM   Resolved: 26/May/10 05:07 PM
Component/s: Compiler
Affects Version/s: 1.2.4
Fix Version/s: 1.3.2

Time Tracking:
Not Specified

File Attachments: 1. Java Archive File exadel-fxp43-lib.jar (1.15 MB) 24/May/10 11:59 PM - Stembridge, Kevin
2. Java Archive File exadel-fxp43.jar (3 kB) 24/May/10 11:59 PM - Stembridge, Kevin
3. Zip Archive exadel-fxp43.zip (1.22 MB) 26/May/10 10:14 AM - Bratukhin, Andrey

Image Attachments:

1. snapshot1.png
(152 kB)

2. snapshot2.png
(150 kB)

3. snapshot3.png
(178 kB)

4. snapshot4.png
(148 kB)
External References:
sdozrdtr (sdozrdtr)
sdozrdtr
mfvlceho (mfvlceho)
mfvlceho
yexirwmx (yexirwmx)
yexirwmx
xakfmntl (xakfmntl)
xakfmntl
dppjhcfh (dppjhcfh)
dppjhcfh
retin a (retin a)
retin a
buy levitra online (buy levitra online)
buy levitra online
order tramadol (order tramadol)
order tramadol
buy levitra online (buy levitra online)
buy levitra online
meridia (meridia)
meridia
colchicine (colchicine)
colchicine
metoclopramide (metoclopramide)
metoclopramide
atrovent (atrovent)
atrovent
reglan (reglan)
reglan
benicar (benicar)
benicar
order adipex (order adipex)
order adipex
indocin (indocin)
indocin
meclizine (meclizine)
meclizine
alesse (alesse)
alesse
ambien online (ambien online)
ambien online
chloramphenicol (chloramphenicol)
chloramphenicol
tylenol with codeine (tylenol with codeine)
tylenol with codeine
purchase xanax (purchase xanax)
purchase xanax
minocycline (minocycline)
minocycline
ycjneygk (ycjneygk)
ycjneygk
claritin (claritin)
claritin
sinemet (sinemet)
sinemet
buy levitra online (buy levitra online)
buy levitra online
buy viagra (buy viagra)
buy viagra
strattera (strattera)
strattera
prilosec (prilosec)
prilosec
omeprazole (omeprazole)
omeprazole
tramadol prescription (tramadol prescription)
tramadol prescription
nizoral (nizoral)
nizoral
bactrim (bactrim)
bactrim
vardenafil (vardenafil)
vardenafil
tylenol with codeine (tylenol with codeine)
tylenol with codeine
adipex online (adipex online)
adipex online
clonidine (clonidine)
clonidine
cytotec (cytotec)
cytotec
voltaren (voltaren)
voltaren
crestor (crestor)
crestor
tenormin (tenormin)
tenormin
buy viagra online (buy viagra online)
buy viagra online
acai (acai)
acai
serophene (serophene)
serophene
propecia online (propecia online)
propecia online
acai supplement (acai supplement)
acai supplement
vermox (vermox)
vermox
zolpidem (zolpidem)
zolpidem
serophene (serophene)
serophene
site cialis (site cialis)
site cialis
zetia (zetia)
zetia
tramadol ultram (tramadol ultram)
tramadol ultram
trazodone (trazodone)
trazodone
amoxicillin dosage (amoxicillin dosage)
amoxicillin dosage
generic xanax (generic xanax)
generic xanax
buy hydrocodone (buy hydrocodone)
buy hydrocodone
sertraline (sertraline)
sertraline
cheap levitra (cheap levitra)
cheap levitra
hyzaar (hyzaar)
hyzaar
differin (differin)
differin
stop smoking (stop smoking)
stop smoking
bactrim (bactrim)
bactrim
ativan (ativan)
ativan
imitrex (imitrex)
imitrex
doxycycline (doxycycline)
doxycycline
triphala (triphala)
triphala
stromectol (stromectol)
stromectol
buy vicodin (buy vicodin)
buy vicodin
buy levitra (buy levitra)
buy levitra
8 cialis (8 cialis)
8 cialis
altace (altace)
altace
losartan (losartan)
losartan
cheap phentermine online (cheap phentermine online)
cheap phentermine online
provera (provera)
provera
robaxin (robaxin)
robaxin
celebrex (celebrex)
celebrex
phentermine online (phentermine online)
phentermine online
aricept (aricept)
aricept
feldene (feldene)
feldene
propecia (propecia)
propecia
advil (advil)
advil
diclofenac sodium (diclofenac sodium)
diclofenac sodium
arimidex (arimidex)
arimidex
avandamet (avandamet)
avandamet
fexofenadine (fexofenadine)
fexofenadine
effexor side effects (effexor side effects)
effexor side effects
tylenol (tylenol)
tylenol
meridia (meridia)
meridia
alesse (alesse)
alesse
celebrex (celebrex)
celebrex
buy fioricet (buy fioricet)
buy fioricet
keppra (keppra)
keppra
stilnox (stilnox)
stilnox
hyzaar (hyzaar)
hyzaar
celebrex (celebrex)
celebrex
motilium (motilium)
motilium
buy phentermine 37.5 (buy phentermine 37.5)
buy phentermine 37.5
acai berry weight loss (acai berry weight loss)
acai berry weight loss
cheap adipex (cheap adipex)
cheap adipex
avandia (avandia)
avandia
tretinoin (tretinoin)
tretinoin
zolpidem (zolpidem)
zolpidem
zolpidem (zolpidem)
zolpidem
order soma (order soma)
order soma
depakote (depakote)
depakote
aciphex (aciphex)
aciphex
fluconazole (fluconazole)
fluconazole
saw palmetto (saw palmetto)
saw palmetto
generic xanax (generic xanax)
generic xanax
metformin (metformin)
metformin
lopressor (lopressor)
lopressor
indocin (indocin)
indocin
xzpckbqi (xzpckbqi)
xzpckbqi
acomplia (acomplia)
acomplia
brand viagra (brand viagra)
brand viagra
adipex pill (adipex pill)
adipex pill
luvox (luvox)
luvox
buy ambien (buy ambien)
buy ambien
cheap xanax (cheap xanax)
cheap xanax
green tea (green tea)
green tea
depakote (depakote)
depakote
pepcid (pepcid)
pepcid
ampicillin (ampicillin)
ampicillin
order ambien (order ambien)
order ambien
zyrtec d (zyrtec d)
zyrtec d
toprol xl (toprol xl)
toprol xl
flomax side effects (flomax side effects)
flomax side effects
cytotec (cytotec)
cytotec
zyrtec d (zyrtec d)
zyrtec d
retin (retin)
retin
order valium (order valium)
order valium
baclofen (baclofen)
baclofen
buy ambien (buy ambien)
buy ambien
pravachol (pravachol)
pravachol
toradol (toradol)
toradol
prilosec otc (prilosec otc)
prilosec otc
bupropion (bupropion)
bupropion
stop smoking (stop smoking)
stop smoking
soma (soma)
soma
purchase phentermine (purchase phentermine)
purchase phentermine
alprazolam (alprazolam)
alprazolam
depakote (depakote)
depakote
naprosyn (naprosyn)
naprosyn
cialis pills (cialis pills)
cialis pills
generic xanax (generic xanax)
generic xanax
hytrin (hytrin)
hytrin
valium online (valium online)
valium online
buy meridia (buy meridia)
buy meridia
hoodia diet (hoodia diet)
hoodia diet
coreg (coreg)
coreg
paxil side effects (paxil side effects)
paxil side effects
coreg (coreg)
coreg
purchase viagra (purchase viagra)
purchase viagra
l glutamine (l glutamine)
l glutamine
chloramphenicol (chloramphenicol)
chloramphenicol
stromectol (stromectol)
stromectol
topamax (topamax)
topamax
flomax (flomax)
flomax
relafen (relafen)
relafen



Bratukhin, Andrey added a comment - 13/Apr/10 01:50 AM
Please, fix it asap.

Hudson system user added a comment - 13/Apr/10 07:02 AM
Integrated in exadel-javafx-plugin-continuous #42 (See [http://hudson.exadel.org/hudson/job/exadel-javafx-plugin-continuous/42/])
    FXP-43

Stembridge, Kevin added a comment - 09/May/10 03:35 PM
I've just updated to the 1.3.0.N14 version of the plugin and this issue doesn't seem to be fixed. I'm still getting the same compilation errors as before.

Katz, Max added a comment - 09/May/10 09:24 PM
Please check this.

Hudson system user added a comment - 23/May/10 04:32 PM
Integrated in exadel-javafx-plugin-continuous #62 (See [http://hudson.exadel.org/hudson/job/exadel-javafx-plugin-continuous/62/])
    FXP-43 - Resolving of variable classpath entry are fixed

Bratukhin, Andrey added a comment - 23/May/10 05:59 PM
Compilation and building are fixed

Stembridge, Kevin added a comment - 24/May/10 03:16 PM
I have installed version 1.3.1 N15 of the plugin and this issue is still occurring.

My environment:
JDK 1.6.0_16
Eclipse 3.5 SR2
JavaFX SDK 1.3
Ubuntu Linux 8.04



Katz, Max added a comment - 24/May/10 04:07 PM
@Kevin: can you tell us how to reproduce it?

Stembridge, Kevin added a comment - 24/May/10 11:58 PM
I have a multi-module project where each module is an Eclipse project. One of the projects contains all the third-party jars. Other projects reference the jars in this lib project.

I've attached a couple of jars with two Eclipse projects in them.


Hudson system user added a comment - 25/May/10 01:02 AM
Integrated in exadel-javafx-plugin-continuous #67 (See [http://hudson.exadel.org/hudson/job/exadel-javafx-plugin-continuous/67/])
    FXP-43 - JavaFX Nature detecting was fixed

Bratukhin, Andrey added a comment - 25/May/10 09:36 PM
Kevin, I think, you have missed some configuration for your projects. I have successfully created multi-module project from your jars. See my attached screenshots.

As I understand from you example, you have created projects by maven. But our plug-in works only with projects, that have Java Nature or Exadel JavaFX Nature.

You should add Java/JavaFX Nature to all necessary projects.

My environment:
JDK 1.6.0_20
Eclipse 3.5 SR2
JavaFX SDK 1.3
Kubuntu 10.04 LTS

Bratukhin, Andrey added a comment - 25/May/10 09:39 PM
Multi-module project

Stembridge, Kevin added a comment - 25/May/10 11:18 PM
Hi Andrey,

I've added the Java builder and nature to the exadel-fxp43-lib project and added the jars to the build path of that project but the exadel-fxp43 project still can't see classes from the JFxtras jar.

I'm not using Maven, I just use the same directory structure. In any case it shouldn't make any difference.

Why does the lib project require a JavaFX nature? Its just a container for jar files. There is nothing to be built in that project. Its only the project containing source code that needs to be built and it references the jars in the lib project.

Are you able to package up the sample project that you managed to get working and attach them to this jira? I'll see if they work for me.


Bratukhin, Andrey added a comment - 26/May/10 10:14 AM
See worked multi-module project.

Bratukhin, Andrey added a comment - 26/May/10 10:18 AM
exadel-fx43-lib in my case doesn't have JavaFX nature, but only Java nature. Java Nature is necessary for our implementation, because it provides API to analyze dependencies and Java types.

Stembridge, Kevin added a comment - 26/May/10 04:42 PM
Ok, I've got it working now. Thanks for the sample project.

To summarise, as you suggested, the fix was to add the Java nature to the lib project but then the JavaFX project must also reference the lib project as a project reference in its build path. Just referencing the jars directly was not enough.

This is inconsistent with the way the Java builder works. There is no need to define a lib project with a Java nature and there is no need to add the lib project as a project reference. I'm wondering if it is really necessary for the JavaFX plugin to be implemented in this way. Maybe this should be raised as a separate issue.

Anyway, thanks for your help in getting it working for me.