Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaFX Maven build #10

Open
gjelenc opened this issue Dec 5, 2017 · 2 comments
Open

JavaFX Maven build #10

gjelenc opened this issue Dec 5, 2017 · 2 comments

Comments

@gjelenc
Copy link

gjelenc commented Dec 5, 2017

When agent is building maven goal package it reports that the following packages does not exists:

  • javafx.application
  • javafx.fxml
  • javafx.scene
  • javafx.stage
  • javafx.event

Agent parameters:
docker.server.osType linux
docker.server.version 17.09.0
docker.version 17.06.0
teamcity.agent.hardware.cpuCount 6
teamcity.agent.hardware.memorySizeMb 11845
teamcity.agent.home.dir /opt/buildagent
teamcity.agent.hostname teamcity.agent1
teamcity.agent.jvm.file.encoding UTF-8
teamcity.agent.jvm.file.separator /
teamcity.agent.jvm.java.home /usr/lib/jvm/oracle-jdk/jre
teamcity.agent.jvm.os.arch amd64
teamcity.agent.jvm.os.name Linux
teamcity.agent.jvm.os.version 3.10.0-693.5.2.el7.x86_64
teamcity.agent.jvm.path.separator :
teamcity.agent.jvm.specification 1.8
teamcity.agent.jvm.user.country US
teamcity.agent.jvm.user.home /root
teamcity.agent.jvm.user.language en
teamcity.agent.jvm.user.name root
teamcity.agent.jvm.user.timezone Etc/UTC
teamcity.agent.jvm.version 1.8.0_131
teamcity.agent.launcher.version 50574
teamcity.agent.name teamcity.agent1
teamcity.agent.os.arch.bits 64
teamcity.agent.ownPort 9090
teamcity.agent.protocol polling
teamcity.agent.tools.dir /opt/buildagent/tools
teamcity.agent.work.dir /opt/buildagent/work
teamcity.agent.work.dir.freeSpaceMb 6482
teamcity.hg.agent.path hg
teamcity.hg.version 3.7.3
teamcity.serverUrl http://teamcity.server:8111
teamcity.tool.JetBrains.dotCover.CommandLineTools.bundled /opt/buildagent/tools/JetBrains.dotCover.CommandLineTools.bundled
teamcity.tool.TeamCity.Dotnet.Integration.1.0.0 /opt/buildagent/plugins/dotnet.cli/tools/TeamCity.Dotnet.Integration.1.0.0
teamcity.tool.TeamCity.Dotnet.Integration.BUNDLED /opt/buildagent/plugins/dotnet.cli/tools/TeamCity.Dotnet.Integration.1.0.0
teamcity.tool.TeamCity.Dotnet.Integration.DEFAULT /opt/buildagent/plugins/dotnet.cli/tools/TeamCity.Dotnet.Integration.1.0.0
teamcity.tool.ant-net-tasks /opt/buildagent/tools/ant-net-tasks
teamcity.tool.gant /opt/buildagent/tools/gant
teamcity.tool.idea /opt/buildagent/tools/idea
teamcity.tool.jacoco /opt/buildagent/tools/jacoco
teamcity.tool.jetbrains.resharper-clt.bundled /opt/buildagent/tools/jetbrains.resharper-clt.bundled
teamcity.tool.jps /opt/buildagent/tools/jps
teamcity.tool.maven /opt/buildagent/tools/maven
teamcity.tool.maven3 /opt/buildagent/tools/maven3
teamcity.tool.maven3_1 /opt/buildagent/tools/maven3_1
teamcity.tool.maven3_2 /opt/buildagent/tools/maven3_2
teamcity.tool.maven3_3 /opt/buildagent/tools/maven3_3

@VladRassokhin
Copy link
Contributor

VladRassokhin commented Dec 18, 2017

Adding JavaFX would increase image size by about 100Mb, so I'd prefer to avoid doing that.
I could suggest you to make new image based on 'jetbrains/teamcity-agent' with following Dockerfile

FROM jetbrains/teamcity-agent:latest
RUN apt-get -qq update && apt-get install -y openjfx

@toudidel
Copy link

I have similar problem with package com.sun.javafx. But unfortunately creating image with openjfx does not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants