Meet-
1CïŒãšã³ã¿ãŒãã©ã€ãºéçºããŒã« ã
èæ¯ããå§ããŸãããã
2幎åã1Cã®ãã£ã¬ã¯ã¿ãŒã§ããBoris Nuralievã¯
ã INFOSTART.RU
ã³ãã¥ããã£ã«çŽ æŽããã
ã€ã³ã¿ãã¥ãŒãè¡ããŸãã ã æãäžè¬çãªè³ªåã¯ã1Cããã°ã©ããŒã®éçºç°å¢ã®æ¹åã«é¢ãããã®ã§ããã
å
æ¥ ã1Céçºã®æŽå²ã«ãããŠéåžžã«èå³æ·±ã段éãè¡ãããŸããã1C-
1Cã®æ°ããéçºç°å¢ã§ãã
Enterprise Development ToolsããªãªãŒã¹ãããŸãã ã
1CïŒEDTã¯ã1CïŒEnterprise 8ã®æ°ããéçºç°å¢ã§ããããªãŒãã³ãã©ãããã©ãŒã Eclipseã«åºã¥ããŠããŸãã
ã¯ããã¯ããã¯ã-ããããããã¹ãŠã®CISè«žåœã ãã§ãªã-ãã·ã¢èªã§éçºãããEclipseïŒ
ïŒã«ããã®äžã«å€§ããªåçããããããããŸãïŒ
çŸæç¹ã§ã¯ãããã¯åãªãè©Šçšçã§ãããããã»ã©å€ãã®ãã®ã¯ãªãã1Cã§ã®å®å
šãªéçºã«å¿
èŠãªãªããžã§ã¯ããããããŸããã ãããã1C
ã以äžãå
¬åŒã«
çºè¡šãããããããã¯æªããããŸããã
ããã®ããŒãžã§ã³ã¯å®å
šãªéçºãç®çãšãããã®ã§ã¯ãããŸãããéçºäžã®ããŒã«ã®æŠå¿µãšæè¡ãç解ããããã ãã§ãªããå°èŠæš¡ã§ã·ã³ãã«ãªæ§æãéçºããããã«ã®ã¿äœ¿çšã§ããŸããã
å¶éã®ãªã¹ãã¯çŸåšèŠæš¡ãééããŠããŸãããå°ãªããšãäºåçãªããŒã¿ãã¹ãã«åæ ŒããŠããªãå Žåã¯ä»¥åã«äœãå
±æããŠããªãã£ãã®ã§ãããã¯ãã¹ãçšã®ã»ã¯ã·ã§ã³ã§ãšã«ããå
¬éãããããããã¯1Cã«ãšã£ãŠéåžžã«æ¥œããã¹ãããã§ãã ãã®è¡ã¯ã1Cã¢ãã€ã«ãã©ãããã©ãŒã ã§éåžžã«æ確ã«è¿œè·¡ãããŠããŸãã
1CãEclipseã®åºç€ãšããŠæ¡çšãããããã次ã®èŠä»¶ãèªåçã«çæãããŸããã
åœç¶ããã¹ãŠãWindows 8 / 8.1ã§æ©èœããŸããããã®å Žåã¯7ã§ã¯ãªãJava 8ãå¿
èŠã§ãã
ãã ããä»ã§ã¯Mac OSã®ç°å¢ã§éçºããããšãå¯èœã§ãã
ããããMac OSãã¡ã³ãåã¶åã«ã1C-Eclipseã®å ŽåãEclipseã§ã®äœæ¥ã®ååã«ã€ããŠå°ã説æããå¿
èŠããããŸããããã¯ã1Cãªããžã§ã¯ããèšè¿°ããxmlãç·šéã§ããããã¹ããšãã£ã¿ãŒã§ãããäœæ¥ããŠããããšãæå³ããŸã1Cããã°ã©ããŒã¯éåžž1CããŒã¿ããŒã¹ã«æ
£ããŠããããã1CããŒã¿ããŒã¹ã§ã¯ãªããç¹å®ã®ããŒã¿ããŒã¹ã§æŽæ°ããæ§æã®ã¿ã䜿çšããŸãã
ãããŠãMac OSã§ã®éçºã¯ãWindowsãLinuxãšã¯ç°ãªããæ
£ã芪ããã ãããã°ã®å¯èœæ§ãªãã«ãããŒã¿ã®ç·šéã®ã¿ã§æ§æãããŸãã
ãæ³åã®ãšãããæ¬æ Œçãª1Cãšã³ã¿ãŒãã©ã€ãºãšã³ã³ãã£ã®ã¥ã¬ãŒã¿ãŒãžã®ã¢ã¯ã»ã¹ããªããã°ããããã°ã¯æ©èœããŸããã
äž»ãªå©ç¹ã®1ã€ïŒç§ã«ãšã£ãŠïŒ-ããã§ãnãããžã§ã¯ããåããŒã¹ã«æ¥ç¶ã§ããŸãã 以åã¯ã1ã€ã®ããŒã¿ããŒã¹ã§è€æ°ã®æ§æãéçºããããšã¯ã§ããŸããã§ããã ããæ£ç¢ºã«èšãã°ãå¯èœã§ããã2ã€ïŒ3ãnïŒã®ã³ã³ãã£ã®ã¥ã¬ãŒã¿ãå°ç¡ãã«ããã³ã³ãã£ã®ã¥ã¬ãŒã·ã§ã³ãã¢ããããŒãããã³ããŠã³ããŒãããŸããäžè¬çã«ã¯ãåã³ã³ãã£ã®ã¥ã¬ãŒã¿ã¯åå¥ã®ãŠã£ã³ããŠã§ãã å®éãåã³ã³ãã£ã®ã¥ã¬ãŒã¿ãŒã¯å®éã«ã¯å¥åã®ãããžã§ã¯ãã§ãã
ããããååãªè«äºã§ããã¢ã¯ã·ã§ã³ãšã¹ã¯ãªãŒã³ã·ã§ããã«ç§»ããŸãããã äžèšãã-1Cã®å®å
šãªã€ã³ã¹ããŒã«æžã¿ããŒãžã§ã³ãå¿
èŠã§ããããšã¯æããã§ãããä»åºŠã¯å¥ã®è¿œå ãã¡ã€ã«ãããŠã³ããŒãããå¿
èŠããããŸãã ãããã¯ãã¹ãŠ
ããããããŠã³ããŒãã§ã
ãŸã ïŒITSã«ãµãã¹ã¯ã©ã€ãããŠããå Žåã®ã¿ïŒã ãã®è£œåã®ãã«ãã¯
ãã¡ãã§ãã
ããŠã³ããŒãããŒãžã§ãéåžžè¡ãããŠããããã«ç®çã®ããŒãžã§ã³1Cãéžæããç®çã®ããŒãžã§ã³1CïŒEDTãéžæããŸãã EDTãšJavaã®ããã深床ãäžèŽããå¿
èŠãããããšã«æ³šæããŠãã ããã ãŸãã¯äž¡æ¹x86ãŸãã¯äž¡æ¹x64ã
次ã«ã1Cèªäœãã€ã³ã¹ããŒã«ããå¿
èŠããããŸããã€ã³ã¹ããŒã«ãããŠããªãå Žåãäœãæ©èœããŸããã ãã®ããŒãžã«èšèŒãããŠããããŒãžã§ã³ãæ£ç¢ºã«ã€ã³ã¹ããŒã«ããå¿
èŠããããŸãã
ãã®åŸãã¢ãŒã«ã€ã
com._1c.g5.v8.dt.rcp-win32.win32.x86_64ã解åããå¿
èŠããããEclipseã§äœæ¥ãéå§ã§ããŸãã ãããè¡ãã«ã¯ãdt.exeãã¡ã€ã«ãå®è¡ããã ãã§ãã ãã ããéå§ããåã«ãæšæºèšå®ã§ã¯ä»®æ³ãã·ã³ã3GBãæ¶è²»ããããã4GB以äžã®RAMãããããšã確èªããŠãã ãããRAMãå°ãªãå Žåãdt.iniãã¡ã€ã«ã®èšå®ãå€æŽã§ããŸãããã®ãããªè¡ããããŸã-Xmx3072m -ããã¯ã¡ã¢ãªã®éã§ãã2GBæªæºãã€ã³ã¹ããŒã«ããªãããšããå§ãããŸããããããªããšãã¡ã¢ãªäžè¶³ãšã©ãŒãçºçããŸãã
ã¢ãŒã«ã€ãèªäœã¯ããã©ã°ã€ã³ãããªã€ã³ã¹ããŒã«ãããEclipseã®ã³ã³ãã€ã«ã§ãã ã€ãŸã ãã®å Žåããã¹ãæå®ããã ãã§å¿
èŠãªãªããžã§ã¯ããéžæããEclipseããã¹ãŠãèªåçã«æ§æããã³æŽæ°ãããããAndroidã®éçºã®å Žåã«ã§ããããã«ãEclipseã®æšæºããŒãžã§ã³ãããã©ã°ã€ã³ãšèšå®ãæ¥ç¶ããããšã¯ã§ããŸããã ãããã1Cã¯ããã«ãããè¡ããšæããŸãæåã®èµ·åã¯é·ããã®ã«ãªããæ²ããããšã«ãä»®æ³ç°å¢ãäœæããããªãªãŒã¹åŸã«ç Žæ£ãããŸãã ããããäžæ¹ã§ãããã¯å€§ããªåé¡ã§ã¯ãããŸãããç°ãªãããŒã¿ããŒã¹ãæäœããããã«100500 Eclipseãªãã·ã§ã³ãéãå¿
èŠããªãããã§ãã
éå§ãããšããã®çŸãããŠã£ã³ããŠã衚瀺ãããŸãã
ãã®ãããEclipseã§ä»¥ååããŠãã人ã«ãšã£ãŠã¯ãçºå£²åŸã¯ç¹ã«æ°ãããã®ã¯ãããŸããã ããã©ã«ãã®ã€ã³ã¿ãŒãã§ãŒã¹ã¯æ¬¡ã®ããã«ãªããŸãã
æ°ããèŠç¹ãçŸããããšã¯ããã«æããã§ãã
1Cã®å±æãç¥ããŸãããã å©çšå¯èœãªããŒã¿ããŒã¹ã¯å³äžã«ãããããã¯çŸåšã®ãŠãŒã¶ãŒã®æ¥ç¶ãããããŒã¿ããŒã¹ã®åãªã衚瀺ã§ãã ãã®å Žåã1Cã¯ibases.v8iãã¡ã€ã«ãèªã¿åãã ãã§ãã ãã®ããã以åã«æ¥ç¶ããŠããããŒã¿ããŒã¹ã¯ããã«ã€ã³ããŒããããŸãã
WebãµãŒããŒãããã§ç®¡çãããŸãã
ããã«ã¯ç¹å¥ãªãã®ã¯ãããŸãããããŒã¿ããŒã¹ãå
¬éããããã«å¿
èŠãªéåžžã®èšå®ã§ãã ãããŠããã¹ãŠãè±èªã§ãã ã€ã³ã¿ãŒãã§ãŒã¹ã¯ãã·ã¢èª-è±èªã§ãããããäžè¬çã«ã¯æ
£ããå¿
èŠããããŸãããã¡ãããããã¯å°æ¥ä¿®æ£ãããäºå®ã§ãã
ããã§ãæ§æããããžã§ã¯ãã«è¿œå ã§ããŸãã
ãããè¡ãã«ã¯ãã€ã³ããŒãããå¿
èŠããããŸãã ã€ã³ããŒãåŸãã€ã³ããŒãããæ§æã®ããŒã¿ããŒã¹ã«ã¯ããã®å Žåã®ããã«ãäžæ¬åŒ§ã§å²ãŸããååãè¿œå ãããŸãã
次ã«ããã®æ§æã®ãªããžã§ã¯ããå©çšå¯èœã«ãªããéåžžã®åœ¢åŒã§æ¢ã«è¡šç€ºãããŸãã
æ®å¿µãªãããçŸåšå©çšã§ããªãããããã£ãšãªããžã§ã¯ããå€ãããŸãã ãã ããããã«ããã1Cã¢ãã€ã«ãã©ãããã©ãŒã ãªã©ã®åçŽãªæ§æã®éçºã劚ããããããšã¯ãããŸããã
ããã¯ãããã¥ã¡ã³ãã®åœ¢åŒã¯æ¬¡ã®ããã«ãªããŸãã
äžè¬çã«ã1Cã¯ããªãã¿ã®ãã©ãŒã ã®æç»ãã©ãŒã ãä¿æããããšã«æ³šæããŠãã ããã ãããã圌ãã¯ããã€ãã®ã°ããºãè¿œå ããŸããïŒãŸãã¯ãããã®ãã°ã§ããïŒïŒã ããšãã°ã以å-ãã©ãŒã ã«ãã£ãŒã«ããè¿œå ãããšããã®ã¿ã€ãã¯è¡šç€ºãããŸããã§ãããããã¯ã質åãããªããã£ãã¿ã€ãã«é¢ããå Žåã¯æããããŸããã ãã ãããªã³ã¯ã®æå®ãéå§ãããšãç¹ã«ãã©ãŒã ãååã«å€§ãããåæç¶æ
ã«å¿ããŠããŒã¿ã衚瀺ããããã®ããã€ãã®ãªãã·ã§ã³ãããå Žåãæ··ä¹±ããå¯èœæ§ããããŸãã ããã¯ãç¹ã«æ°ããæ§æïŒUNFãªã©ïŒã«åœãŠã¯ãŸããŸãã
ãããŠãããã§ããã«ç€ºãããã¿ã€ããããŸãããŸããããã¯çŽ æŽãããããšã§ã¯ãããŸãããïŒ ããããã°ã§ã¯ãªãããšãé¡ã£ãŠããŸã:)
ãŸãããã©ãŒã ã¯æ²ãã£ãŠããŸãããããã§ãã¢ã«ãã¡ãªãªãŒã¹ã®ããã«-ç§ã¯ææªã®ãã®ãæåŸ
ããŠããŸããã
次ã«ãå¥ã®æ§æãæ¥ç¶ããããã€ãã®ã³ãŒãã確èªããŸãã
ã芧ã®ãšããã1ã€ã®ç°å¢ã§ããŸããŸãªæ§æã®ããŸããŸãªãªããžã§ã¯ããåæã«æäœããããšãå¯èœã«ãªããŸãããå·ŠåŽã«æ©èœãšæé ã®ãªã¹ããããããªã¹ãã¯é åã«åå²ãããŠããŸãïŒæšæºæ§æã§ã¯ã»ãšãã©åœ¹ã«ç«ããªãïŒã
ãšã¯ã¹ããŒãé¢æ°ããã©ã¡ãŒã¿ãŒã匷調衚瀺ãããçŸåšã®é¢æ°ã匷調衚瀺ãããŸããããšãã°ã次ã®ããã«ãªããŸãã
ããããããã¯ãã¹ãŠã1Cã次ã«ãã£ãããšãšæ¯ã¹ããšäºçŽ°ãªããšã§ãã ãããŠã圌ãã¯ãªã¢ãŒããããã°æ©èœã䟿å©ã«ããŸããã ã€ãŸã ããã§ãããŒã¿ã®ãããã°ã«å¥ã®ãµãŒããŒã䜿çšã§ããŸãã æ®å¿µãªããããã®ããŒãã«é¢ããæ
å ±ã¯ã»ãšãã©ãããŸããã ãã ããèšå®ããæšæž¬ã§ããããã«ãç¹å®ã®WebãµãŒããŒããããã°ã®ããã«ç«ã¡äžããããããä»ããŠãã¢ãã€ã«ãå«ããã¹ãŠã®ãã©ãããã©ãŒã ã®ãããã°ãè¡ãããŸãã
ãããŠããã¯ãéåžžããã¹ããµãŒããŒç°å¢ã«ã¯ã³ã³ãã¥ãŒã¿ãŒã§äœ¿çšã§ãããã¹ãŠã®æ©èœããªãããã1Céçºè
ãããŒã¿ããŒã¹ãã³ã³ãã¥ãŒã¿ãŒã«ãã«ããå¿
èŠããªããªã£ããšãã«äŸ¿å©ãªã¡ã«ããºã ãåŸãããããšãæå³ããŸãã ã¯ãããµãŒããŒãããµãŒããŒã«ãžã£ã³ããããã³ã«-ããã¯ã¯ãŒã«ã§ã¯ãããŸããã§ããã
ããã§ãå€æ°ã®ãµãŒããŒã管çããããŒã¿ããªã¢ãŒãã§ãããã°ããã³ã³ãã¥ãŒã¿ãŒã®ç°å¢ã§äœæ¥ã§ããŸãã ããã«ã1Cã¯ããŒã¿è»¢éãã£ãã«ã®æå·åãå¯èœã«ããŸããïŒæ²ããããšã«ã1Snikovsãšç®¡çè
ã®99ïŒ
ã¯æ³šæãæã£ãŠããŸããïŒã
ããã«å ããŠã1Cã¯gitãæäœããããã®ãã©ã°ã€ã³ãæ¥ç¶ããŸããã ããã«ãæ§æãªããžããªãŒã§ã®äœæ¥ã«èŠãããã¹ãŠã®äººã«ãšã£ãŠãgitã«åãæ¿ããã®ã¯å®å
šã§ãã githubã§ã®äœæ¥ã説æããæå³ã¯ãããŸããããããã¹ãŠãéåžžã©ãããã§ãã
1C
ã¯ç¬èªã®ãã©ã³ããäœæ
ã ãç¡æã§ã¢ã¯ã»ã¹ã§ãããã¢æ§æã®1ã€ãæçš¿ããŸããã
ãããã1CãEDTãããžã§ã¯ããšå¯æ¥ã«é£æºãå§ãããšããäºå®ãèæ¯ã«ã圌ãã¯ããã«ãããããããå€ãè¯ãã³ã³ãã£ã®ã¥ã¬ãŒã¿ãŒã«å®è£
ããããã€ãã®æ±ºå®ãäžãããšãäœåãªããããŸããã
ç¹å¥ãªããšã¯äœããªããšæããŸããç»é¢ãããã¹ãŠãã¯ã£ããããŠããŸãã
çµè«ïŒ
ãããã£ãŠãã»ãšãã©ã®é1Cããã°ã©ããŒãèµ·ããããšãæããŠãããã®-ãã·ã¢èªãããªãã®ã©ã³ã¯ã«ãããŸã:)
äžæ¹ãããã°ã©ãã«ãšã£ãŠ1Cã¯éçºã®å€§ããªé£èºã§ãã ãšã³ããªãŒã®ãããå€ããããã«å¢å ãã7.7ã®å Žåã®ããã«ãããã°ã©ããŒã®ããªãã®éšåãèœã¡ãŠãã³ã³ãã£ã®ã¥ã¬ãŒã¿ãŒã®å€ãããŒãžã§ã³ã®ãŸãŸã«ãªããŸãã ããããæ°ãããã©ãã€ã ãšååãç¿åŸã§ãã人ã¯ãäžè¬çãªç°å¢ã§åãããšãåŠã¶ããšã§å ±ãããã§ãããã ãã®ãããç°ãªãããã°ã©ãã³ã°èšèªéã®åãæ¿ããã¯ããã«ç°¡åã«ãªããŸãã ãããŠããã¹ãŠã®odnosnikãç¥ã£ãŠããããã«ãç§ãã¡ã¯1Cã«éå®ãããŸãããJSãVBSãSQLãBashãHTMLã§äœããä»äžããå¿
èŠããããŸããã¢ãã€ã«ãã©ãããã©ãŒã ã®ãªãªãŒã¹ã§ã¯ãAndroidåãã«èšè¿°ããå¿
èŠããããŸãã 1æ¬ã®ããã«ãé
眮ã§ããŸãã
ãã¡ãããIDEAããµããŒããããŠããªãã®ã¯æ®å¿µã§ããã1Cã§æåã«ãã®æ¹åãéžãã ãšããIDEAã¯ãŸã ããŸã人æ°ããªããAndroidéçºè
ã§ãããã©ãŒã ãæãããã®ç°å¢ããªãã£ããããIDEAã¯ããŸã人æ°ããªãã£ãã®ã§ãããã¯ããã»ã©é ããªããšæããŸã1Cã§-ããã¯éèŠãªæ©èœã§ãã
åŸ
ã£ãŠãå¹³åïŒ æ¥ãŸãïŒ
PSç¹ã«ãEclipseã§ãã·ã¢èªãå®éã«èŠãŠããã·ã¢èªã®ããã°ã©ãã³ã°ãäžæºãªãã®ã§ãããšè©±ããã人ã®ããã«ããã¿ãã¬ããé¡ãããŸãã
ç®ã®äžè©±ããã
ããã§ã¯ãå®è£
ãšãªã¢ãã©ãã»ã©äŸ¿å©ããéåžžã«æ確ã«èŠãããšãã§ããŸãã
ãããŠãããã«ãããã°ã®å®è£
æ¹æ³ããããŸãã ããŒããæã€localhostïŒå·ŠäžïŒã¯ãå¥ã®ã³ã³ãã¥ãŒã¿ãŒã®IPã¢ãã¬ã¹ãããå¯èœæ§ãããããšã瀺åããŠããããã«èŠããŸãã
æåŸã«ããæ°ã«å
¥ãã®ã¯ãšãªãã¶ã€ããŒã§ãã
ããããªãŒã»ã·ã§ã«ã¹ãããã