mirror of
https://github.com/google/nomulus
synced 2026-01-03 11:45:39 +00:00
Rename Java packages to use the .google TLD
The dark lord Gosling designed the Java package naming system so that ownership flows from the DNS system. Since we own the domain name registry.google, it seems only appropriate that we should use google.registry as our package name.
This commit is contained in:
committed by
Justine Tunney
parent
5012893c1d
commit
c458c05801
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
#
|
||||
# Copyright 2016 Google Inc. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -103,7 +103,7 @@ def build_classpath():
|
||||
{"kind": "src", "path": "bazel-genfiles/java"},
|
||||
{
|
||||
"kind": "lib",
|
||||
"path": ("%s/java/com/google/domain/"
|
||||
"path": ("%s/java/google/"
|
||||
"registry/eclipse/eclipse_deps.jar" % bazel_genfiles)
|
||||
},
|
||||
{"kind": "output", "path": "bin"},
|
||||
@@ -202,7 +202,7 @@ def build_factorypath():
|
||||
bazel_bin = bazel_info("bazel-bin")
|
||||
annotations_jar = os.path.join(
|
||||
bazel_bin,
|
||||
"java/com/google/domain/registry/eclipse"
|
||||
"java/google/registry/eclipse"
|
||||
"/annotation_processors_ide_deploy.jar",
|
||||
)
|
||||
factorypath_entries = [
|
||||
@@ -232,21 +232,21 @@ def build_dependencies():
|
||||
subprocess.check_call([
|
||||
"bazel",
|
||||
"build",
|
||||
"//java/com/google/domain/registry/...",
|
||||
"//javatests/com/google/domain/registry/..."])
|
||||
"//java/google/registry/...",
|
||||
"//javatests/google/registry/..."])
|
||||
|
||||
# Builds a giant jar of all compile-time dependencies of the project
|
||||
subprocess.check_call([
|
||||
"bazel",
|
||||
"build",
|
||||
"//java/com/google/domain/registry/eclipse:eclipse_deps",
|
||||
"//java/google/registry/eclipse:eclipse_deps",
|
||||
])
|
||||
|
||||
# Builds a jar with all annotation processors
|
||||
subprocess.check_call([
|
||||
"bazel",
|
||||
"build",
|
||||
"//java/com/google/domain/registry/eclipse"
|
||||
"//java/google/registry/eclipse"
|
||||
":annotation_processors_ide_deploy.jar"
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user