Bug 1149139

Summary: DevAssistant can't resolve Java dependencies
Product: [Fedora] Fedora Reporter: Ingo Weiss <iweiss>
Component: devassistantAssignee: Bohuslav "Slavek" Kabrda <bkabrda>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: bkabrda, msrb, phracek, tradej
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devassistant-0.9.2-4.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-08 18:55:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Java project
none
Ruby on Rails project none

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.