Bug 1149139 - DevAssistant can't resolve Java dependencies
Summary: DevAssistant can't resolve Java dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: devassistant
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-03 10:31 UTC by Ingo Weiss
Modified: 2014-10-08 18:55 UTC (History)
4 users (show)

Fixed In Version: devassistant-0.9.2-4.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-08 18:55:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Java project (1.11 MB, image/png)
2014-10-03 10:31 UTC, Ingo Weiss
no flags Details
Ruby on Rails project (1.15 MB, image/png)
2014-10-03 10:31 UTC, Ingo Weiss
no flags Details

Description Ingo Weiss 2014-10-03 10:31:05 UTC
Created attachment 943693 [details]
Java project

Description of problem:

When creating a Java project, it fails to resolve the dependencies and/or offer to install the dependencies because it aborts on the message "Package not found: java-1.7.0-openjdk". In comparison, when trying a Ruby on Rails project the YUM dependencies include ruby.


Version-Release number of selected component (if applicable):

devassistant-0.9.2-2.fc21.noarch

How reproducible:

All the time.

Steps to Reproduce:
1. Open DevAssistant
2. On "Create Project" choose "Java" and then "Simple Apache Maven Project" or "Simple JavaServer Faces Project"
3. Type any project name on the "Project name:" field
4. Click on "Run"

Actual results:

See attached devassistant-java-deps.png

Expected results:

See attached devassistant-RoR-deps.png
Additional info:

Comment 1 Ingo Weiss 2014-10-03 10:31:46 UTC
Created attachment 943694 [details]
Ruby on Rails project

Comment 2 Bohuslav "Slavek" Kabrda 2014-10-03 10:44:21 UTC
Thanks for the report. I talked to one of the Java packagers and it seems that instead of using "java-1.7.0-openjdk" we should rather use "java-devel" virtual provide. This provide should work pretty much in any Fedora version even if openjdk gets updated.
I'll fix this in upstream and in Fedora, too.

Comment 3 Fedora Update System 2014-10-03 11:37:03 UTC
devassistant-0.9.2-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/devassistant-0.9.2-3.fc21

Comment 4 Ingo Weiss 2014-10-03 12:19:47 UTC
That was fast :)

Comment 5 Bohuslav "Slavek" Kabrda 2014-10-03 12:22:18 UTC
(In reply to Ingo Weiss from comment #4)
> That was fast :)

Yeah, but I just found out that there's one more dependency bug in JSF assistant. In F21 there is no junit4, just junit. A fix for that is on the way, everything should be fine after that, hopefully. Thanks for the report!

Comment 6 Fedora Update System 2014-10-04 03:23:21 UTC
Package devassistant-0.9.2-4.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing devassistant-0.9.2-4.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12118/devassistant-0.9.2-4.fc21
then log in and leave karma (feedback).

Comment 7 Ingo Weiss 2014-10-08 13:02:26 UTC
Working beautifully, thanks!

Installed both Java and Eclipse without issues.

Comment 8 Fedora Update System 2014-10-08 18:55:40 UTC
devassistant-0.9.2-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.