Brian O'Connor
79b7067e72
Updating buck plugin to track web resources
...
Also, renaming onosjar to onos.
Change-Id: Ia726772462b0bc997b92dbcb4bdc477ee7b590b0
2016-10-20 14:21:46 -07:00
Brian O'Connor
8cc10ecc26
Adding maven coords to OAR and onos features.xml genrules
...
Change-Id: Id2d3b0f4686888a48feb09eacef3f27136c1df0e
2016-09-14 00:19:07 +00:00
Brian O'Connor
ee674955c2
Enhancing OnosJar to build OSGi jars and wars if required.
...
Also, simplifying onos.bucklet by using the rule
Change-Id: If89633db2d83cbfc56a8e70d2bea665ffaf186ff
2016-09-14 00:18:28 +00:00
Yuta HIGUCHI
f05db4017e
Fix for Netty wiring issue after 4.0 bump.
...
- After updating Netty 4.0 version,
we sometimes see java.lang.NoClassDefFoundError: io/netty/util/internal/TypeParameterMatcher
with backtrace insisting there's some dynamic class resolution inside Netty.
It might be side-effect of recent native-epoll support inside karaf?
https://github.com/netty/netty/issues/5119
- Add DynamicImport-Package for io.netty to allow deferred wiring
http://felix.apache.org/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.html#how-to-provide-optional-services
- Add a way to pass DynamicImport-Package on BUCK build
Change-Id: I50ec3400e940c56fb52563d84659ebb30c302235
2016-08-16 00:59:48 +00:00
Brian O'Connor
e8468b5743
ONOS Swagger Plugin
...
just does swagger now
to build the plugin, you need to download to following:
https://github.com/bocon13/buck/releases/download/v2016.07.29.01-wip/buck.jar
put the buck.jar in tools/build/buck-plugin/lib
Change-Id: Id1b833dd013fbc5581f8e884e755920829c4a17e
2016-08-03 22:27:51 +00:00
Ray Milkey
c21ff708dd
remove buck warnings again - merging put them back
...
Change-Id: I695e31755280ab2b7ee11dea89778dce8646d64f
2016-08-03 09:47:17 -07:00
Ray Milkey
2a749835b7
Top level build of component Javadocs
...
Change-Id: Iceb2a7c84b3dd0b354b27f93a0f746913cd9b778
2016-08-03 09:38:07 -07:00
Ray Milkey
e584f7e75c
Get rid of buck build warnings for no tests and no checkstyle files
...
Change-Id: I1f4f38cc1069351c4e066ce313321e5c0ceed843
2016-08-02 22:04:19 -07:00
Ray Milkey
171b89a5e8
Refactor bucklets to share ONOS buck definition files
...
Change-Id: Ifb4bc87b264eea9c660f0e053c27822bb9922b78
2016-07-28 23:13:00 +00:00
Ray Milkey
c340e2891c
Javadoc for a single module using BUCK
...
Part of ONOS-4519
Change-Id: I05e4c25c88dad26b407c8787484a50c502b1d87b
2016-07-27 23:02:11 +00:00
Thomas Vachuska
275d2e82dd
Refactoring checkstyle daemon into a more general purpose buck daemon.
...
Change-Id: I999541e8894f07061141b3a62414e491369f8d08
2016-07-18 20:18:16 +00:00
Brian O'Connor
40a3fbd6da
ONOS-4572 Adding checkstyle for Java tests in Buck
...
Change-Id: I3099046ba9db4ff59a9c4d0aa6bd0a73edc367d2
2016-06-08 21:37:01 +00:00
Brian O'Connor
e642f7cf7b
Bumping version to 1.7.0-SNAPSHOT
...
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Brian O'Connor
fc247f4048
Updating checkstyle plugin to show module name on failure
...
Change-Id: I8c3e015e1332f27315b47f60d84c151ad2e77faf
2016-05-23 15:25:49 -07:00
Brian O'Connor
be95f68933
Adding Checkstyle daemon
...
Lazily instaniate a checkstyle daemon for the first checkstyle job.
Then, each subsequent checkstyle target uses the daemon.
The daemon is terminated when the parent buck or buckd exits.
Change-Id: I4dbea957f20a3f77048dd25d960b7faa1eafef37
2016-05-19 22:17:01 +00:00
Brian O'Connor
af9e01f2dd
Updating checkstyle test for Buck
...
- Updating grep regex which fails on Linux
- Printing output for failed checkstyle runs
Change-Id: I905fe4b43a8c3948bca02d8bc73e88174735ac0b
2016-05-17 23:30:21 +00:00
Brian O'Connor
63555d8072
Pass checkstyle locations via arguments
...
Change-Id: I1dba28b48d8f62ba75a93d345f94c14b825adf93
2016-05-10 15:12:40 -07:00
Brian O'Connor
3724a03b2b
Another checkstyle fix for Jenkins
...
Change-Id: I226aac8eac6911af833bfeb309be36b1c58831fe
2016-05-04 20:43:30 -07:00
Brian O'Connor
67f1c29822
Buck checkstyle fix for Jenkins
...
Change-Id: I6009bb1ef8a9394375c0a298f91ef46c86c05606
2016-05-05 03:23:21 +00:00
Brian O'Connor
fc7f5fcd31
Refactoring features rule and generation
...
Change-Id: Id3eb8b595f858c7d362414c7b7ff5db0ae269c1d
2016-04-29 18:23:19 -07:00
Brian O'Connor
4847ea3d6e
Updating checkstyle rule in onos.bucklet
...
Change-Id: I16422bf02b55572d82d9463cb87c678545b79793
2016-04-29 18:23:19 -07:00
Brian O'Connor
4443ffba17
Adding remote_jar bucklet
...
Change-Id: I925c3b56158709195e4b5e1278de325cac013090
2016-04-29 18:23:18 -07:00
Ray Milkey
db01621f1e
Fix from Brian for checkstyle rule with no sources
...
Change-Id: I37a85b38b61d9b008dc3456345bbd9ded6718281
2016-04-27 15:19:33 -07:00
Brian O'Connor
b3cc6047f4
Moving checkstyle run to buck test
...
Change-Id: Ib8d2e2fbb71585d90ac5df44d08a186f22fe0425
2016-04-25 15:07:28 -07:00
Ray Milkey
820d633b9f
Start refactoring of app BUCK files
...
- Brian added maven coordinates to the maven JAR short path
- refactored segment routing and ganglia metrics apps
Change-Id: I7b8110e07a474d256d4821c1a9d083c9c8c11e2e
2016-04-11 20:26:29 +00:00
Ray Milkey
24439fe26d
app buck refactor for apps: aaa, acl, bgprouter
...
Change-Id: Iaa970e3a937cc1df0aff29cc45f4c08c2d79cd13
2016-04-09 02:55:18 -07:00
Brian O'Connor
e4da59d8aa
Simplifying rules and providing sensible defaults
...
Updated cordvtn, dhcp, fwd, onos-api, of-api, onlab-rest, onos-rest, onos-gui
Also, fixed checkstyle error print
Change-Id: I9d6ab76791e8603678079067a3b4e007ca7c4667
2016-04-08 18:43:36 -07:00
Brian O'Connor
5f207d23d1
Updating maven_jar.bucklet to use remote_file when possible
...
Change-Id: Ib45bdde2fc41f65d2a8373b55caed6930b361844
2016-04-08 18:43:36 -07:00
Brian O'Connor
e124f3dd7b
Using $(maven_coords :target) marco
...
Note: This this macro is not yet available on buck master
Also, simplifying app/fwd buck file and improving onos_app
readability by using feature_coords instead of feature_name
Change-Id: I9aff07d66331a537f6711bf15fd760cf910f1afc
2016-04-08 18:43:36 -07:00
Brian O'Connor
0f6677d8b3
Buckifying DHCP app
...
Change-Id: I9af53efa8bb0294f5f2c677ac2d8bb0b5e4cf282
2016-04-08 02:24:02 +00:00
Brian O'Connor
1f1659868c
Generate onos_app rule
...
There are three genrules:
1. Build features.xml
2. Build app.xml
3. Generate app.oar
Change-Id: I6adfd47fadf40ad2440998071a01894458629ac6
2016-04-07 15:33:32 +00:00
Brian O'Connor
e5817c9162
Adding src/main/webapp resources to WARs
...
This fixes onos-gui, so now onos-rest and onos-gui work.
We also exclude duplicate resources in the output jar.
Change-Id: I5fef1376a9f7e88cb7248a606e8f568f641ab45b
2016-04-07 15:29:10 +00:00
Ray Milkey
7c25182db9
Fix buck tests
...
Change-Id: I3d681e6e5c1d3e98c87ccb3d20a619b216ae6133
2016-04-06 19:04:52 -07:00
Brian O'Connor
b86c920526
Updating Buck files to build OSGi jars
...
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo
Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Brian O'Connor
42c38cf357
Updating buck to build OSGi JARs
...
Includes:
OSGiWrapper to wrap Buck JARs
- cfgdef file support
- WAR file generation support
Adding checkstyle support
Change-Id: Ia25c41f945980e4b94ad5a8bd161328fa5f79c27
2016-04-06 00:46:07 +00:00
Ray Milkey
f80bbb22c2
Initial BUCK build
...
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00