-
Notifications
You must be signed in to change notification settings - Fork 1
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
exampleJava failure #17
Comments
Hi Marty, Our Cloudbees builds are all run by executing scripts inside the jenkins/ subdirectory of each project. Please take the time to look at those scripts for your exampleJava project; you should learn how to edit those scripts yourself, rather than relying on Ralph to edit them for you for this kind of thing (it's usually much faster to do it yourself anyway).
|
No, Marty is right. Doing the upload via scriptlet in Jenkins was wrong and a shortcut that now backfires. The upload should of course be done inside the Maven project - I will have to find out how. |
@Marty: |
@mrkraimer My apologies then. |
For the C++ projects your statement is entirely true, of course. |
On 03/31/2016 04:20 PM, Ralph Lange wrote:
I am not sure how to answer this. I see that for pvDatabaseJava it is: So for exampleJava/database it might be. What is in the html directory is l what "mvn package" produces in mrk> pwd ./org: ./org/epics: ./org/epics/exampleJava: ./org/epics/exampleJava/exampleDatabase: ./org/epics/exampleJava/exampleDatabase/class-use: Marty
|
That's not what I mean. This is a multi-module project. Every sub-module's target/apidocs is a complete website. With the recent merge you introduced a new concept (Maven multi-modules) without doing a proper specification for the use of such multi-modules (in the scope of our V4 context) first. Now it's on me to "fix" the implementation without knowing what exactly your intentions are. |
On 04/01/2016 07:55 AM, Ralph Lange wrote:
Looking again at And then under I would suggest that exampleJava be Marty
|
OK. |
I suggest as you wrote, "sub-modules inherit their version numbers from the multi-module project. Always, by definition." Keeps it simple, and we don’t have to do even more version management. greg
|
On 04/01/2016 08:23 AM, Ralph Lange wrote:
I see in exampleJava/pom.xml and in all the examples no version for the example. So I ask You what should the version number be? Also in my last message I said
I would suggest the this be changed to I would suggest that exampleJava be The reason is that exampleJava does have a Also not all of the examples have a documentation/EXAMPLENAME.html file. Also in each of the EXAMPLENAME.html files what should the version say? Marty
|
OK, will find out about the numbering. Aim: sub-modules inherit from parent. Destination web space structure for specific doc and Javadoc, master and released version:
The number to use inside the sub-module.html specific doc was half-specified in an AI, iirc. I adopted the -SNAPSHOT notation from the module name for pvaSrv, and Dave found that useful. I think it should be the full number, nut just the branch. For clarity. (In Maven projects, the version could be taken from the POM and inserted in the doc. That must be set up, though. Opening an issue or creating an AI would be good ways to start such a change.) |
The jenkins build for exampleJava shows a failure when it is trying to build the javadoc.
exampleJava has the directory structure
exampleJava/
arrayPerformance // first example
...
serviceAPI //last example
exampleJava has no code but only a parent pom for each example.
Thus it has no javadoc.
Each example does have code and thus needs javadoc.
The javadoc of each example should go into the target/apidocs of the example
The text was updated successfully, but these errors were encountered: