Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28841

.project file is missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.27.0.AM1
    • quarkus
    • None
    • ---

      Error: https://studio-jenkins-csb-codeready.apps.ocp-c1.prod.psi.redhat.com/job/Studio/job/Quality/job/Integration-tests/job/quarkus-itests/691/jdk=openjdk-17,label=rhel8/testReport/org.jboss.tools.quarkus.integration.tests.launch.configuration/CreateNewQuarkusConfigurationMultiMavenTest%20no-configuration/org_jboss_tools_quarkus_integration_tests_launch_configuration_CreateNewQuarkusConfigurationMultiMavenTest_no_configuration/ 

       

      Works locally but not on Jenkins because multi maven projects are pre-built when running itests locally. Until projects are built, they don't have a ".project" file. So test fails on this line: https://github.com/jbosstools/jbosstools-quarkus/blob/main/itests/org.jboss.tools.quarkus.integration.tests/src/org/jboss/tools/quarkus/integration/tests/launch/configuration/AbstractLaunchConfigurationTest.java#L63 .

      I see 2 ways:

      1. instead of using ".project" file for create the project, just simply import the project via File -> Open projects from file system. I'm not sure if its the same, need stephane.bouchet to approve.
      2. Build maven-dao and maven-rest projects before looking for ".project" file.

       

      stephane.bouchet What do you think?

              stephane.bouchet Stephane Bouchet
              rh-ee-olkornii Oleksii Korniienko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: