public function generate() { if (is_dir($this->javaSourcePath)) { $this->addSourceFiles($this->javaSourcePath, $this->javaSourcePath . DIRECTORY_SEPARATOR, ""); } parent::generate(); }
public function generate() { $this->addFiles("sources/java/src/com", "KalturaClient/src/com/"); $this->removeFiles("KalturaClient/src/com/kaltura/client/KalturaLoggerLog4j.java"); $this->removeFiles("KalturaClient/src/com/kaltura/client/test/"); $this->addFiles("sources/java/src/com/kaltura/client/test", "KalturaClientTester/src/com/kaltura/client/test/"); parent::generate(); }
protected function addFile($fileName, $fileContents, $addLicense = true) { $fileContents = str_replace('String clientTag = "java:@DATE@"', 'String clientTag = "android:@DATE@"', $fileContents); parent::addFile($fileName, $fileContents, $addLicense); }