Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [snipmatch] Xtext configuration help needed

Hi Andreas,

I've looked into it, and it seems to be because of the missing .project files. See this forum thread and bugzila issue that explains the problem [1]/[2]. This is reported by the workflow at the beginning as well.[3]

I'll try to add the project from the workflow StandaloneSetup, via the StandaloneSetup.addProjectMapping(ProjectMapping), as described in the workflow. This should make it work.
 
Also, thank you for the explanations about the build. 😊
Best Regards,
Stefan.
 
[3]: [WARNING] 23   WARN  StandaloneSetup    - No projects found in platform location. This is cause by a lack of .project files. Concider to populating the map explicitly via StandaloneSetup.addProjectMapping(ProjectMapping)
 
From: Andreas Sewe
Sent: â€ŽThursday‎, ‎September‎ ‎19‎, ‎2013 ‎12‎:‎30‎ ‎AM
To: recommenders-dev@xxxxxxxxxxx
 
Hi Fabian,

> I think the most straightforward solution is to add the de.itemis.xtext.antlr feature to the target, which avoids the download of the ANTLR jar altogether:
>
> https://git.eclipse.org/r/#/c/16504/6..7/targets/luna/luna.target

thanks, that did the trick. So the explicit Antlr download is really
just a fallback in case people forget including Antlr in their target
feature?! A bit counterintuitive, IMHO, but just adding the feature to
the target platform is a nice and simple solution. :-)

> The workflow fails though, but I get the same errors locally with a working download, so that seems to be a separate issue (progress! :-).

Yes.

@Stefan: Can you try to make sense of the error messages? [1]
Fortunately, the build errors are quite verbose, so it hopefully isn't
to hard to figure out what's going wrong.

BTW, one possible reason might be that we (in the o.e.r parent POM)
configured the xtend-maven-plugin to search for Xtend sources in
target/generated-sources/xtend (following in general Maven convention)
rather than src-gen; this requires less special casing in the POMs, but
may require one or two tweaks in your workflow.

Hope this helps.

Andreas

[1]
<https://hudson.eclipse.org/recommenders/job/snipmatch.gerrit.master/36/console>

--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/recommenders-dev

Back to the top