cancel
Showing results for 
Search instead for 
Did you mean: 

svn source code stable version(svn://svn.alfresco.com)

hiko
Champ in-the-making
Champ in-the-making
Hi,

I have configure eclipse with alfresco as per following url and run build.xml

http://wiki.alfresco.com/wiki/Alfresco_on_Eclipse
http://forums.alfresco.com/en/viewtopic.php?f=10&t=15336

I am not able to build successful ,i am getting error

In remote-api project

[mkdir] Created dir: C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\build\classes
[javac] Compiling 458 source files to C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\build\classes

BUILD FAILED
C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects.xml:532: The following error occurred while executing this line:
C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\macros.xml:57: Compile failed; see the compiler error output for details.

is svn source code (svn://svn.alfresco.com) stable?

Is there anything i am doing wrong?
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
No Head is not normally stable, changes are being merged in all the time.

From time to time it will be managed while a community release is built, reworked and tested.

That said.   The URL above only gets updated after passing all automated tests so by implication it must compile. 
And Head has been fairly stable at the moment since most of the change going on is related to the new RM modules.

The build error is likely to be your problem.   But if you can't fix it then we need more details of the error.

beren
Champ in-the-making
Champ in-the-making
Can you build from a command line? I would try that first and only if that works start trying to do it in Eclipse.

This works ok for me based on today's head.

hiko
Champ in-the-making
Champ in-the-making
hi,
I am getting following error when run->build.xml



compile-remoteapi:
    [mkdir] Created dir: C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\build\classes
    [javac] Compiling 458 source files to C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\build\classes
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\dictionary\DictionaryServiceTest.java:619: 警告:この文字は、エンコーディング UTF-8 にマップできません。
    [javac]       arguments.put("cf", "a?&llsara");
    [javac]                             ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\content\StreamContent.java:62: 警告:[deprecation] org.alfresco.web.scripts の org.alfresco.web.scripts.WebScriptStatus は推奨されません。
    [javac] import org.alfresco.web.scripts.WebScriptStatus;
    [javac]                                ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\RepositoryContainer.java:706: 警告:[deprecation] org.alfresco.repo.transaction.TransactionListener の flush() は推奨されません。
    [javac]         public void flush()
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\activities\TemplateWebScript.java:61: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\activities\TemplatesWebScript.java:55: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\activities\feed\SiteFeedRetrieverWebScript.java:62: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\activities\feed\UserFeedRetrieverWebScript.java:75: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\bean\AbstractLoginBean.java:62: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\bean\KeywordSearch.java:105: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\bean\LoginTicket.java:64: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\bean\LoginTicketDelete.java:74: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\dictionary\GetClassDetails.java:80: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\discussion\DiscussionServiceTest.java:94: 警告:[deprecation] org.alfresco.service.cmr.site.SiteService の createSite(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean) は推奨されません。
    [javac]             this.siteService.createSite("DiscussionSitePreset", SITE_SHORT_NAME_DISCUSSION, "DiscussionSiteTitle",
    [javac]                             ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\invite\InviteByTicket.java:95: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\invite\InviteResponse.java:99: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(final WebScriptRequest req, final Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\invite\Invites.java:131: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\person\ChangePasswordPost.java:76: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req, Status status)
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\ActionDefGet.java:71: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\ActionDefsGet.java:88: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\ActionQueuePost.java:83: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\ConditionDefGet.java:71: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\ConditionDefsGet.java:68: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\RuleDelete.java:93: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\RuleGet.java:98: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\RulePut.java:100: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\RulesDelete.java:80: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\RulesGet.java:98: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\web\scripts\rule\RulesPost.java:90: 警告:[deprecation] org.alfresco.web.scripts.DeclarativeWebScript の executeImpl(org.alfresco.web.scripts.WebScriptRequest,org.alfresco.web.scripts.Status) は推奨されません。
    [javac]     protected Map<String, Object> executeImpl(WebScriptRequest req,
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\webservice\Utils.java:622: 警告:[deprecation] org.alfresco.service.cmr.version.Version の getCreator() は推奨されません。
    [javac]         webServiceVersion.setCreator(version.getCreator());
    [javac]                                             ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\java\org\alfresco\repo\webservice\Utils.java:626: 警告:[deprecation] org.alfresco.service.cmr.version.Version の getCreatedDate() は推奨されません。
    [javac]         Date createdDate = version.getCreatedDate();
    [javac]                                   ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\DiscoveryService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.DiscoveryServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(DiscoveryServicePort, DiscoveryServicePort.class, features);
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\MultiFilingService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.MultiFilingServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(MultiFilingServicePort, MultiFilingServicePort.class, features);
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\NavigationService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.NavigationServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(NavigationServicePort, NavigationServicePort.class, features);
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\ObjectService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.ObjectServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(ObjectServicePort, ObjectServicePort.class, features);
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\PolicyService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.PolicyServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(PolicyServicePort, PolicyServicePort.class, features);
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\RelationshipService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.RelationshipServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(RelationshipServicePort, RelationshipServicePort.class, features);
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\RepositoryService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.RepositoryServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(RepositoryServicePort, RepositoryServicePort.class, features);
    [javac]                     ^
    [javac] C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects\remote-api\source\generated\org\alfresco\repo\cmis\ws\VersioningService.java:74: シンボルを見つけられません。
    [javac] シンボル: メソッド getPort(javax.xml.namespace.QName,java.lang.Class<org.alfresco.repo.cmis.ws.VersioningServicePort>,javax.xml.ws.WebServiceFeature[])
    [javac] 場所    : javax.xml.ws.Service の クラス
    [javac]         return super.getPort(VersioningServicePort, VersioningServicePort.class, features);
    [javac]                     ^
    [javac] 注:入力ファイルの操作のうち、未チェックまたは安全ではないものがあります。
    [javac] 注:詳細については、-Xlint:unchecked オプションを指定して再コンパイルしてください。
    [javac] エラー 8 個
    [javac] 警告 30 個

BUILD FAILED
C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\projects.xml:532: The following error occurred while executing this line:
C:\ENV\ALFRESCO_SVN\alfresco\HEAD\root\macros.xml:57: Compile failed; see the compiler error output for details.

mrogers
Star Contributor
Star Contributor
You need to check out the code as UTF-8.