13 Commits

Author SHA1 Message Date
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